Actually, is your loaded SWF trying to access _root?  If it is, those are legit errors, you can’t just muck with the root anymore.

 


From: [email protected] [mailto:[email protected]] On Behalf Of Jason Y. Kwong
Sent: Tuesday, February 14, 2006 10:30 AM
To: [email protected]
Subject: [flexcoders] Uncaught exceptions in Flex 2.0

 

When using the Loader component to load a Flash 8 swf, I normally get a couple of uncaught exceptions that appear via a pop-up window:

ReferenceError: Error #1056: Cannot create property __OnEnterFrameBeacon on _TestApp_mx_managers_SystemManager

ReferenceError: Error #1056: Cannot create property reserved on _TestApp_mx_managers_SystemManager

If you dismiss these exceptions, the swf runs fine.  I trust that these exceptions will be fixed eventually.  In the meantime, I would like to prevent the pop-up window.  Since these exceptions are thrown during the asynchronous load, I can't catch them the usual way.  In the docs, there's a section titled "Uncaught exceptions", but it's currently blank.  Is there a way in AS3 to declare something like a global exception handler to catch these uncaught exceptions?



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