# Shared multiple Objects

**URL:** https://forum.kirupa.com/t/shared-multiple-objects/321895
**Category:** flash
**Created:** [May 4, 2011, 12:28pm UTC](https://forum.kirupa.com/t/shared-multiple-objects/321895 "2011-05-04T12:28:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![coggia](https://avatars.discourse-cdn.com/v4/letter/c/8c91f0/32.png) [@coggia](https://forum.kirupa.com/u/coggia)
#### Post date: [May 4, 2011, 12:28pm UTC](https://forum.kirupa.com/t/shared-multiple-objects/321895/1 "2011-05-04T12:28:11Z")

</div>

hello,  
I’ve got a shared object, but when i flush data into it (it works, as I see the sharedobject on my disk with data on it), i cannot retrieve the data when I load it

My shared object is like that:  
mySo.data.gamedata = {  
player:{  
score: player.sc,  
health: player.hp,  
},  
settings:{  
mute: set.mute,  
}  
}

So it’s flushed, but when I try to trace the (mySo.data.gamedata) i get undefined value

or if I try mySo.data.gamedata.player, i get an error message:  
a term is undefined and does not have any properties

Why cannot I store vars like this way?
