I thought i had sharedObjects figured out… but i want to pull the value from a sharedObject from one swf and change it in another:
i have this for my sharedObject in the main swf…
onClipEvent (load) {
total = _root.getBytesTotal();
user = SharedObject.getLocal("sevenBit");
if (user.data.pIntro == "No") {
//getURL("http://sevenbit.ws/home.php", "_parent");
trace("goto site");
}
trace(user.data.pIntro);
}
and the button that applies the setting
on(release){
user = SharedObject.getLocal("sevenBit");
user.data.pIntro = "No";
user.flush();
}
thats for the main swf… its an intro… and the setting is to skip the intro completly and remember… but i want to be able to allow the intro to play… if the user wants… so i created a swf to be put in an html page… to activate the intro…
on(release){
user = SharedObject.getLocal("sevenBit");
user.data.pIntro = "Yes";
user.flush();
trace(user.data.pIntro);
}
i called it right… but it seems like the sharedObject is unique each time… is this true?