# sharedObject won't work across multiple swf's?

**URL:** <https://forum.kirupa.com/t/sharedobject-wont-work-across-multiple-swfs/143116>\
**Category:** Uncategorized\
**Created:** [April 3, 2005, 9:35am UTC](https://forum.kirupa.com/t/sharedobject-wont-work-across-multiple-swfs/143116 "2005-04-03T09:35:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![uber1](https://avatars.discourse-cdn.com/v4/letter/u/779978/32.png) [@uber1](https://forum.kirupa.com/u/uber1)\
**Post date:** [April 3, 2005, 9:35am UTC](https://forum.kirupa.com/t/sharedobject-wont-work-across-multiple-swfs/143116/1 "2005-04-03T09:35:34Z")

</div>

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…

```auto
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

```auto
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…

```auto
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?
