Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 869137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:15:39+00:00 2026-05-15T10:15:39+00:00

since updating my Flash Player plugin from 10 to 10.1, I’m seeing a weird

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T10:15:40+00:00Added an answer on May 15, 2026 at 10:15 am

    Here’s a work around:

        package scolab.core
    {
        import flash.net.SharedObject;
    
        /**
         * Flash 10.1 introduce a nasty bug that crash the FlashPlayer and the browser when a SharedObject is accessed consecutively
         * We work around this issue with a static accessor that make sure the SharedObject is accessed only once and kept in cache.
         * */
        public class SharedObjectManager
        { 
            private static var cache:Object = new Object()
            public static function getLocal(name:String, localPath:String = null, secure:Boolean = false):SharedObject {
                if (cache.hasOwnProperty(name+":"+localPath+":"+secure)) {
                    return cache[name+":"+localPath+":"+secure]
                } else {
                    cache[name+":"+localPath+":"+secure] = SharedObject.getLocal(name,localPath,secure)
                }
                return cache[name+":"+localPath+":"+secure]
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Since updating to JavaFX 2.0 b36 (SDK for Windows (32Bit) + Netbeans Plugin) from
Since updating the subclipse plugin the paths next to project name in Eclipse disappeared.
Since static fields objects are created at class level(and common to all objects), Is
Since it's impossible to capture text from a java canvas by using standard Windows
Since updating to Lion I can't install configuration profiles with the iPhone Configuration Utility
I have recently updated Xcode to use the iOS5 SDK. Since updating my app
I'm updating some legacy code from the old 3.0 version of the C# Facebook
Since updating a working MonoTouch 3.x app to MonoTouch 4.0, I have been getting
I'm unable to run even the default App Engine connected Android app, since updating
So I'm working on updating my .vimrc file since it's a gigantic mess currently.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.