I've listened for the SystemManager.applicationComplete event before to get a valid reference to it. b..
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, March 08, 2007 7:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SWFLoader: WHEN can I access SystemManager.application["myContent"]? In a handler on the complete event of a SWFLoader, I set an instance variable(typed as SystemManager) to myLoader.content. _smAppLoaded = SystemManager(myLoader.content); When can I access the .application property?: Alert.show(_smAppLoaded.application["lblOne"].text); If I try it in the event handler, I get a null reference. The same if I try it in a callLater() But if I try it after a setInterval or timer of 5000 ms, I get a valid reference. And from a button in the UI, it is valid. Is there a good way to know if it is ready? Or should I just use a timer loop? Tracy *** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. ***