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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What would the code look like for a button to jump 3 frames ahead? 1

Status
Not open for further replies.

flasher

Technical User
Mar 4, 2002
245
US
What would the code look like for a button to jump 3 frames ahead?

What would the code look like for a button to jump 3 frames backward?

thank you.
 
To clarify, I need to code the forward and back buttons in my slideshow so that whatever point you are at in the slideshow, the forward button will take you 3 frames ahead and the back button will take you 3 frames back...

(My pictures are not one frame after another. they are separated by 3 frames each...)

Hope I am making myself understood..
 
Like this:

gotoAndStop (_currentFrame+3); // for forwards

gotoAndStop (_currentFrame-3); // for backwards Regards
David Byng
spider.gif

davidbyng@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top