# Shared object issue?

**URL:** <https://forum.kirupa.com/t/shared-object-issue/328814>\
**Category:** Uncategorized\
**Created:** [June 19, 2012, 7:33pm UTC](https://forum.kirupa.com/t/shared-object-issue/328814 "2012-06-19T19:33:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![icekomo](https://avatars.discourse-cdn.com/v4/letter/i/bcef8e/32.png) [@icekomo](https://forum.kirupa.com/u/icekomo)\
**Post date:** [June 19, 2012, 7:33pm UTC](https://forum.kirupa.com/t/shared-object-issue/328814/1 "2012-06-19T19:33:49Z")

</div>

I have having a problem with a shared obeject… I have used them in that past and I’m not sure what is causing my issue:  
When i flush the data to the share object I can trace it and it works fine.

```auto

so.data.playerData = nameTagArray;
			so.flush();
			trace(so.data.playerData + " pushed array data");

```

But when I close and reload the app… when I trace that same statement… i get “,” instead of it telling me it’s an object…

```auto

if (so.data.playerData != undefined)
			{
				for (var i:int = 0; i < so.data.playerData.length; i++)
				{
					trace(so.data.playerData.length + " length");
					trace(so.data.playerData); // returns ","
				}
			}
			else
			{
				trace("no data");
			}

```

Thanks for the help!
