You can never get them "simultaneously" since actionscript is
single-threaded.  You can add logic that waits for both events before
dispatching a custom event.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of subbusos
Sent: Tuesday, May 08, 2007 3:54 AM
To: [email protected]
Subject: [flexcoders] Flex Event Management Issues



Hi all,

I am facing a peculiar issue where Flex events are stacked to fire.

I am developing a search feature to search videos from different sites
like YouTube, Google etc.,

The results events are stacked for two different search queries, if I
start the query immediately after the another. That is the class is
getting the results, but the events are not fired for the second query
until the first query's result events are fired.

For your information, for each query, there will be an instance to
handle that query. The second instance is waiting for the first
instance to finish its result events. Once its done, all the result
events of second instance are fired.

I want to get the events simultaneously. Please help me to solve this
issue.

Thanks & Regards
Subbu 



 

Reply via email to