PDA

View Full Version : Complete Tutorial


Mario912
01-14-2003, 11:37 PM
Can anyone give me a tutorial on butons that play your flash movie. I KEEP ON POSTING ABOUT THIS, AND I NEVER GET SUFFICENT RESULTS!

jimburton
01-15-2003, 01:31 PM
have you worked your way through the tutorials in flash - Help/Lessons? they're a great start....

lbower
01-15-2003, 05:40 PM
Are you just looking for information on how you click a button on the main timeline and then a movie clip plays?

Ricod
01-17-2003, 01:16 PM
What do you want then ? Buttons to control your movie like, let's say a vcr :

play button : on (release) {
_root.play();
}

pause button : on (release) {
_root.stop();
}

stop button : on (release) {
_root.gotoAndStop(1);
}

reverse play : on (press) {
var frameToPlay = _root._currentframe-1;
_root.gotoAndPlay(frameToPlay);
}
rewind : same as previous but with : var frameToPlay = _root._currentframe-5; bigger or smaller depending on how fast you want to rewind.

fast forward : same as previous but with : var frameToPlay = _root.currentframe+5; bigger or smaller depending on how fast you want to fast forward.

something like that ? Basically, all you have to know is the path to the object you want to control and how to use the gotoAndPlay(), Play(), Stop() and gotoAndStop().