In as2, when sharing a SharedObject between two swf files which are not in the same folder, you need to specify the folder in which resides the sharedObject you want to access, by setting the 2nd argument of theĀ getLocal function: For example,
var mySharedObject:SharedObject = SharedObject.getLocal("mySharedObjectName", "/");
will use / create a share object in the root folder.
