function checkSO()
{
// If a shared object called siteSO already exists this will retrieve it otherwise it
// creates a new shared object called siteSO
var SO = SharedObject.getLocal("siteSO");
if(SO.data.visitedAlready)
{
gotoAndPlay("end");
}
else
{
SO.data.visitedAlready = true;
SO.flush();
}
}
checkSO();
I'm guessing I have to put this in the first frame? Just a stupid question though.. which layer do I put it on, or does it not matter?
Also I believe I need to put
endon the last frame but again which layer to put on?
