Skip to main content
Known Participant
January 14, 2007
Question

i want a button that skips 50 frames when clicked

  • January 14, 2007
  • 2 replies
  • 181 views
I have a button and when i click it i want the main timeline to skip 50 frames.

how can i do this?

my only ideas are

mc1.onRelease = function() {
gotoAndPlay(+50)
}

and

mc1.onRelease = function() {
_currentframe =+ 50
}

sincerly
rbr1234
This topic has been closed for replies.

2 replies

Participating Frequently
January 15, 2007
mc1.onRelease = function() {
_root.gotoAndPlay(_root._currentframe+50)
}
Participant
January 14, 2007
I don't know the exact syntax, but I would imagine that it would be along the lines of:

mc1.onRelease = function(){
_currentframe = _currentframe + 50;
}