PDA

View Full Version : next FRAME buttons


siphon
03-04-2006, 03:00 AM
insted of making a sequence of buttons on diffrent frames and then haveing it say
_____________________
on (press) {
gotoAndStop(21);
}
on (press) {
gotoAndStop(22);
}
on (press) {
gotoAndStop(23);
}
_____________________


can i say something like
____________________
on (press) {
goto NEXT FRAME
}
____________________

}

Flash Gordon
03-04-2006, 03:17 AM
_currentframe +1
or
nextFrame()

piratefish
03-04-2006, 03:20 AM
Are you doing it for one button but you just want it to go to the next frame?

Well inside the button you can do..

on(release){
_root.gotoAndStop(_root._currentframe++)
}


That would make the main timeline move one frame. Be sure you put a stop(); or it will keep playing (like it would normally).

oldnewbie
03-04-2006, 04:31 AM
on(press){
_level0.nextFrame();
}


For future reference, this will have been my 8000th post.