Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to send variables to CFC from Flex

Posted on 2007-11-21
2
559 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Hi, I will be creating today a basic tutorial on how we can create a Mail Custom Function and use it where ever we want. The main advantage about creating a custom function is that we can accommodate a range of arguments to pass to the Function and …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

792 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