Yeah you're right. I'll keep looking for a solution. The fact that it's only an issue in swf9 makes me think it may be a Flash player bug...


On Apr 19, 2010, at 3:48 PM, P T Withington <[email protected]> wrote:

My reading of your change is that instead of just catching a SecurityError in the inner block, you are now catching all errors (did you mean that?) Since you catch all errors and ignore them, you don't really need the flag on the outer block -- it will never see the errors the inner block caught -- but if the inner block did catch an error, now the outer block will _also_ ignore errors (because the flag is set).

I guess I really don't understand what you are trying to do here.

On 2010-04-19, at 18:36, Max Carlson wrote:

No, I'm just ensuring an error that's supposed to be ignored is ignored. Other errors will still show up.

The inner try/catch block is supposed to explicitly catch this kind of error. Perhaps the behavior of nested try/catch blocks changed in when we updated the flex compiler?

Regards,
Max Carlson
OpenLaszlo.org

On 4/19/10 2:57 PM, P T Withington wrote:
So, you are just ignoring _all_ errors in the loader now?

On 2010-04-19, at 17:15, Max Carlson wrote:

Change 20100419-maxcarlson-r by maxcarl...@friendly on 2010-04-19 14:05:21 PDT
  in /Users/maxcarlson/openlaszlo/trunk-clean
  for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Suppress loaderEventHandler warnings in swf9

Bugs Fixed: LPP-8923 - AGP-73257-793: "WARNING: loaderEventHandler... Error #2099" comes when compiling only in swf9

Technical Reviewer: hminsky
QA Reviewer: [email protected]

Details: Add flag to ensure security warnings are ignored.

Tests: See testcase at LPP-8923 under swf9

Files:
M       WEB-INF/lps/lfc/kernel/swf9/LzSprite.as

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20100419-maxcarlson-r.tar



Reply via email to