Flash Player 10.1 crash on shared object access

Posted by Simon on Stack Overflow See other posts from Stack Overflow or by Simon
Published on 2010-06-14T15:07:36Z Indexed on 2010/06/14 15:12 UTC
Read the original article Hit count: 966

Filed under:
|

Hi all,

since updating my Flash Player plugin from 10 to 10.1, I'm seeing a weird crash when accessing shared objects. Flex Builder's debugger pops up and prints a stack trace like this:

undefined

 at flash.net::SharedObject$/getLocal()
 at my.code::MyClass$/load()[/my/path/to/my/MyClass.as:27]
    (...)

This happens when calling SharedObject.getLocal("someString") for the second time for the same string, though it doesn't always crash. When using another browser on the same machine (not configured as the preferred debugging browser in Flex Builder), Flash Player remains silent. The code is wrapped in a try/catch(Error) block which does not catch this error. I'm using Flex SDK 3.5 and Flex Builder 3 on Mac OS X 10.6.3. Has anyone else seen this?

Thanks, Simon

© Stack Overflow or respective owner

Related posts about flex

Related posts about flash