Solved

How to send variables to CFC from Flex

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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now