ReferenceError: Error #1056: Cannot create property reserved on _TestApp_mx_managers_SystemManager
Interestingly, this error doesn't happen if I specify the swf in the MXML, eg:
<mx:Loader source="Test.swf"/>
But if use load() or the source property in script, the exception happens. Unfortunately, I need to use the load() method. So is there any way to catch these exceptions? I noticed that if you click "Dismiss All" on the error popup, it never pops up again for any other exceptions (it just traces warnings to the console). Any way to set that at startup?
On 2/15/06, Matt Chotin <[EMAIL PROTECTED] > wrote: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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Y. Kwong
Sent: Tuesday, February 14, 2006 10:30 AM
To: flexcoders@yahoogroups.com
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service .
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.