I been desperatly trying to set up a if statement that will change a dynamic textbox via the existence of a sharedobject, but no matter how I set it up I just can't get it to work and I don't understand it, help me please I tried to wrap my head around it
var ujName:SharedObject = SharedObject.getLocal("UncleJeffName")
ujName.data.fullName
ujName.flush();
if(ujName.hasOwnProperty("UncleJeffName"))
{
trace("YES")
}
else
{
trace("NO")
}
This isn't the original code of it but in more basic form without the textbox , and it still traces no
Aucun commentaire:
Enregistrer un commentaire