# Shared object question

**URL:** <https://forum.kirupa.com/t/shared-object-question/218934>\
**Category:** Uncategorized\
**Created:** [March 12, 2007, 4:08pm UTC](https://forum.kirupa.com/t/shared-object-question/218934 "2007-03-12T16:08:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![b\_art](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@b\_art](https://forum.kirupa.com/u/b_art)\
**Post date:** [March 12, 2007, 4:08pm UTC](https://forum.kirupa.com/t/shared-object-question/218934/1 "2007-03-12T16:08:58Z")

</div>

hi all.

i have a small question.

i need to attach an string to an shared object.

var taal:String = “engels”;  
trace(taal)  
taal\_so = SharedObject.getLocal(“taal”);  
if(taal\_so.data.taal != undefined) {  
trace(“taal is verandert”)  
}  
trace(taal\_so)

this is what i currently have but what i need to do is that if a “taal” is changed and i would restart my presentation the “taal” traces the one i setted in my previous movie.

can someone tell me how this works
