I take it you're asking for more than the 'creationComplete' event? If you want to wait for data calls (your own) you'll definitely need to set up your own system. We created a CheckList object in flash, which would wait for all its added items to dispatch a complete event.

Scott


On 3/22/06, Clint Modien <[EMAIL PROTECTED]> wrote:
Problem:
When all async operations in an component are complete I need to examine the state of the component.

Is there anyway to listen for a completion of all async activity? 

If it's not built in... (which I suspect it isn't) does anyone have ideas for an implementation?

Possible Solution:
One thing would be to write a mountain of logic into each component to signify a resting/complete state. (cringes)

How many async operations are there?  Effects... Data Calls... uhh.. anything else?

Can I use a prototype hack to jack into the async classes and listen for / count the events? It's ugly but it was just a thought.




--
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






--

: : ) Scott


--
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




Reply via email to