# Shared Object problems

**URL:** <https://forum.kirupa.com/t/shared-object-problems/175722>\
**Category:** Uncategorized\
**Created:** [January 17, 2006, 6:52am UTC](https://forum.kirupa.com/t/shared-object-problems/175722 "2006-01-17T06:52:47Z")\
**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:52am UTC](https://forum.kirupa.com/t/shared-object-problems/175722/1 "2006-01-17T06:52:47Z")

</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.

```
ActionScript Code:
[FONT=Courier New][LEFT][COLOR=#000000] **var** [/COLOR] user_so:[COLOR=#0000FF]SharedObject[/COLOR] = [COLOR=#0000FF]SharedObject[/COLOR].[COLOR=#0000FF]getLocal[/COLOR][COLOR=#000000]([/COLOR][COLOR=#FF0000]"usersliveDSB"[/COLOR], [COLOR=#FF0000]"/"[/COLOR][COLOR=#000000])[/COLOR];

```

country\_test = user\_so.[COLOR=#0000FF]data[/COLOR].[COLOR=#000080]fromCountry[/COLOR];  
[COLOR=#0000FF]if[/COLOR] [COLOR=#000000]([/COLOR]country\_test == [COLOR=#0000FF]undefined[/COLOR][COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR]  
country\_test.[COLOR=#0000FF]text[/COLOR] = [COLOR=#FF0000]“Country has not been defined”[/COLOR];

[COLOR=#0000FF]gotoAndStop[/COLOR]COLOR=#000000[/COLOR]  
[COLOR=#000000]}[/COLOR]  
[COLOR=#0000FF]else[/COLOR]  
[COLOR=#000000]{[/COLOR]  
[COLOR=#0000FF]gotoAndStop[/COLOR]COLOR=#000000[/COLOR]

[COLOR=#000000]}[/COLOR]  
[/LEFT]  
[/FONT]

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
