Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to send variables to CFC from Flex

Posted on 2007-11-21
2
Medium Priority
?
569 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 360 total points
ID: 20329349
0
 
LVL 9

Accepted Solution

by:
digicidal earned 400 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 Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

885 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