How would you invoke one method on a cfc from flex, then call another method on the same cfc and the cfc maintain the values from the first invoke?
example:
<cfcomponent>
<cfreturn this />
</cffunction>
<cffunction name="doSomething" access= "remote" output="false" returntype= "any>
<cfreturn getSomeValue() & ' is the value you asked for...' />
</cffunction>
<cffunction name="setSomeValue" access="remote" output= "false" returntype="any">
<cfargument name="someValue" required= "true" default="" />
<cfset Variables.someValue = arguments.someValue />
</cffunction>
<cffunction name="getSomeValue" access= "remote" output="false" returntype="any">
<cfreturn Variables.someValue />
</cffunction>
</cfcomponent>
remoteObject.setSomeValue('something');
remotObject.doSomething(); // I'm looking for event.result to contain the string 'something is the value you asked for...'
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

