Solved

How to send variables to CFC from Flex

Posted on 2007-11-21
2
555 Views
Last Modified: 2013-12-24
I have a FLEX application and I want to call a CFC using RemoteObject.  I would like to pass 2 variables from the FLEX app to the CFC, but have no idea how to do that.
0
Comment
Question by:jeresimpson
2 Comments
 
LVL 19

Assisted Solution

by:Gary Benade
Gary Benade earned 90 total points
ID: 20329349
0
 
LVL 9

Accepted Solution

by:
digicidal earned 100 total points
ID: 20331858
You pass information to the CFC the same way as you do in CFML... with arguments.  The only difference between the two is how you instantiate the object (CFC) itself, but other than that it's the same.  Arguments pass information IN to the CFC and the CFC returns data OUT via cfreturn.

Another example here:
http://weblogs.macromedia.com/pent/archives/2006/11/example_of_flex.cfm
and
http://www.flexingcfmx.com/index.cfm?mode=entry&entry=D36D5CE5-FB00-283B-A23A89CB46949A4D
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

PROBLEM:  How to open a cfwindow or run a function on double click of a cfgrid row. One of my clients wanted to be able to double click on a row item to get more detailed information about a transaction and to be able to modify the line items i…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question