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.
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…
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!