Skip Intro Script
Out of context: Reply #5
- Started
- Last post
- 5 Responses
- Buckyball20
found this script which I believe is what we need. What do I change on this besides the gotoandPlay frame to skip the intro?
//initialize the shared object – get it if it exists on this computer
var my_so:SharedObject = SharedObject.getLocal("visited", "/");//check to see if the visited info object exists and act accordingly
if (my_so.data.newVisitor != undefined) {
//object exists: return user
//replace "frame-for-return-user" with the frame number that skips your intro animation
this.gotoAndPlay(frame-for-retur...
} else {
//object doesn't exist: new user
//set the newVisitor attribite of the my_so.data object to indicate this is not a new visitor next time they come to the site
my_so.data.newVisitor = "no";
this.play();
}