All data access operation in Flex are
asynchronous. You can not access the result in the same
function that invokes the send/operation call. You must use an event handler function run
by the result event, or use binding. Tracy From: I am writting a login function that calls a remote cfc and
returns data. Based on the length of lastresult either show different
view stack child or turn visiable on for label that displays no user found The remote call works, but I have to press login button
twice to display the no user found message or to switch to another child of the
view stack. It looks like the if statment exacutes before the
remoteobject is returned... Thank you in adance. David <?xml version="1.0"
encoding="utf- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS
__,_._,___ |