hello
i have actionscript 3 file code :
PHP Code:
var sharedObject:SharedObject = SharedObject.getLocal("myData");
sharedObject.data.savedText = "hello world";
sharedObject.flush();
for (var key:String in sharedObject.data) {
trace(sharedObject.data[key]);
}
in my actionscript 2 code
PHP Code:
var sharedObject:SharedObject = SharedObject.getLocal("sharedData");
sharedObject.flush();
if (SharedObject.getLocal("myData") != undefined) {
trace(sharedObject.data.savedText);
} else {
trace("No saved text found.");
}
but not working
thanks for help