Solved

How to send variables to CFC from Flex

Posted on 2007-11-21
2
564 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
[X]
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
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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

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 …
Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

728 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