1.21 gigawatts
1.21 gigawatts

Reputation: 17762

Error: Error #2134: Cannot create SharedObject

I'm trying to setup a new project and I keep getting this error:

Error: Error #2134: Cannot create SharedObject.
at flash.net::SharedObject$/getLocal()
at com.google.analytics.core::Buffer()[//com/google/analytics/core/Buffer.as:198]
at com.google.analytics.components::FlexTracker/_trackerFactory()[/com/google/analytics/components/FlexTracker.as:180]

When I attempt to debug if I click on any of the links (to the methods in the debugger) the debugger disconnects.

Mac OSX, FB4.6

Upvotes: 0

Views: 3195

Answers (2)

1.21 gigawatts
1.21 gigawatts

Reputation: 17762

Causes: Shared Objects cannot have spaces in their names.
Solution: Remove any spaces. IE myVar.replace(/ /g, "_");

Cause: Another cause is setting an incorrect path. IE “./” vs “/”
Solution: Remove illegal character from path.

Cause: Possible bug when you set the localPath on local or the file system.
Solution: Set the local path to null when testing on localhost or the file system. SharedObject.getLocal("myData", null);

More information here.

Upvotes: 2

ifyr
ifyr

Reputation: 41

Maybe you should change your SWC's Link Type to Merged into code.

Upvotes: 0

Related Questions