# Shared Object problems

**URL:** <https://forum.kirupa.com/t/shared-object-problems/175721>\
**Category:** flash\
**Created:** [January 17, 2006, 6:51am UTC](https://forum.kirupa.com/t/shared-object-problems/175721 "2006-01-17T06:51:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![offshore](https://avatars.discourse-cdn.com/v4/letter/o/a88e57/32.png) [@offshore](https://forum.kirupa.com/u/offshore)\
**Post date:** [January 17, 2006, 6:51am UTC](https://forum.kirupa.com/t/shared-object-problems/175721/1 "2006-01-17T06:51:50Z")

</div>

OK. Really stuck here,

Maybe just and AS issue,the final product is an exe so it may something to do with the 3rd party software I am using and the Shared object. This is what I am using to check if a shared object is there or not and then does something.

[AS]  
var user\_so:SharedObject = SharedObject.getLocal(“usersliveDSB”, “/”);

country\_test = user\_so.data.fromCountry;  
if (country\_test == undefined) {  
country\_test.text = “Country has not been defined”;

gotoAndStop(1)  
}  
else  
{  
gotoAndStop(2)

}  
[/AS]

The shared object value is definately there cos I can see it in a textbox variable…

As I soon as I run it in the projector it bombs out. I’m using a container swf which loads another swf (over http). Not sure if I am missing a security issue or something so if any of you have any ideas… please share

THX
