Question: in flash MX i want to control a movie clip or timeline (not video but flash Movie) to Fast forward and rewind. i have a movie clip created in flash thats on either the timeline or movieclip on the main timeline. i know how to make the movie start and stop. but i want a person to be able to hold down (or release)the button and rewind and fast forward the movieclip . is this possible. thanks. \njin

Answer: If you want the action to occur over and over while the button is pressed, you will want to set an onPress event handler that either sets an onEnterFrame or a setInterval that does the appropriate action.  You will also need an onRelease AND onReleaseOutside to remove the onEnterFrame or clearInterval.\n\nTo fastforward through the timeline, I would suggest using something like:\ngotoAndStop(_currentframe+1)\n\nyou can change the value to affect the speed it fastforwards throught the timeline or use a negative number to rewind.
This question from the Yahoo Q&A forum is categorized in the topic: Business & Finance