var base = SharedObject.getLocal(); if (base.data.visited == undefined){ base.data.visited = true; base.flush (); } else{ _root.gotoAndPlay (100); }