# SharedObject usage

**URL:** <https://forum.kirupa.com/t/sharedobject-usage/207783>\
**Category:** Uncategorized\
**Created:** [November 21, 2006, 2:17pm UTC](https://forum.kirupa.com/t/sharedobject-usage/207783 "2006-11-21T14:17:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jasvarghese](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jasvarghese](https://forum.kirupa.com/u/jasvarghese)\
**Post date:** [November 21, 2006, 2:17pm UTC](https://forum.kirupa.com/t/sharedobject-usage/207783/1 "2006-11-21T14:17:44Z")

</div>

Hello all…

I’m using a shared object in my project…and that’s saving a value too…

the code looks like this…

```auto

userLang = SharedObject.getLocal("lang");
if(userLang.data.lname != undefined)
{
    userLang.data.lname = "DE";
}
else
{
    userLang.data.lname = "EN";
}

```

and this value is storing into the local system.

the problem happening when i tried to access the stored value from another swf…

thats not accessing the value…  
is there any alternatives to access this stored value from another swf?

thanks in advance…

[http://www.kirupa.com/developer/mx/sharedobjects.htm](http://www.kirupa.com/developer/mx/sharedobjects.htm)
