RE: [flexcoders] Detecting loader.close()

2009-10-05 Thread Alex Harui
I don't know of any events.  You'll probably have to dispatch your own.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Aaron Hardy
Sent: Monday, October 05, 2009 8:53 AM
To: flexcoders
Subject: [flexcoders] Detecting loader.close()



Hey all,

I have a Loader instance, I call the load() method, and then sometime 
thereafter but before the loading is complete I call the close() method.  Is 
there any sort of event I can watch that will tell me the loader has been 
closed?  As a very simple test, I tried the following but it never gets to the 
stop() method for any of the events.  In my real app I have a reference to the 
loader/loaderInfo in a different part of the app and need to know when the 
loader is closed.


http://www.adobe.com/2006/mxml"; layout="absolute" 
creationComplete="go();">






Thanks for any help!

Aaron



[flexcoders] Detecting loader.close()

2009-10-05 Thread Aaron Hardy
Hey all,

I have a Loader instance, I call the load() method, and then sometime
thereafter but before the loading is complete I call the close() method.  Is
there any sort of event I can watch that will tell me the loader has been
closed?  As a very simple test, I tried the following but it never gets to
the stop() method for any of the events.  In my real app I have a reference
to the loader/loaderInfo in a different part of the app and need to know
when the loader is closed.


http://www.adobe.com/2006/mxml"; layout="absolute"
creationComplete="go();">






Thanks for any help!

Aaron