|
Aejaz,
This is expected.
You can't assign the result of a remote object call
immediately to a value. The Flash Player needs to make calls asynchronously so
that the movie does not stall while waiting for a response from the network.
Instead you're returned a token to help you track results from asynchronous
invocations. This is called the Asynchronous Completion Token
(ACT) pattern. You need to have a result handler registered for your
RemoteObject (or individual operation, or individual invocation on the token
itself). When the result event is raised, your handler will get a ResultEvent
which will have the Array result (as well as access to the ACT
token.
Pete From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of aejaz_98 Sent: Sunday, June 11, 2006 6:00 AM To: [email protected] Subject: [flexcoders] Flex2B3: Problem returning Object[] from a RemoteObject call Hi, -- 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
YAHOO! GROUPS LINKS
|
- RE: [flexcoders] Flex2B3: Problem returning Object[] from a ... Peter Farland

