Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gotoAndPlay doesn't work??!!

Status
Not open for further replies.

irthy

Technical User
Jan 26, 2006
9
US
I have a movie clip that is animated and appears to act like a button except I can't get the on (release) gotoAndPlay scene1, frame thing to work. I've tried the _root etc but all it does is absolutely nothing. I just want to have the movie act like a button and go to a specific frame on the main scene (scene1) but I think it's trying to go to a frame within the movie clip like it does on the rollover and rollout actions. How do I get it to go to a specific frame on a scene. Bellow is what i have for the script

on (rollOver){
gotoAndPlay("start");
}

on (rollOut){
gotoAndPlay("stop")
}

on (release){
gotoAndPlay("scene1", "buybeats")
}


is my url
 
NEVER AGAIN target a scene name in your Flash life again, but only labeled frames, adding the targeted timeline (in your case _level0 or _root) to your path...
Thus...

on (release){
_level0.gotoAndPlay("buybeats");
}


Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top