Home > Articles > Graphics & Web Design > Dreamweaver & Flash

  • Print
  • + Share This
This chapter is from the book

Summary

You can use many commands to control the flow of a Flash movie. Here is a list:

  • stop Pauses the current timeline on the current frame.

  • play Continues the flow of a movie after a stop command.

  • gotoAndStop Jumps to a frame name or number and pauses the movie there.

  • gotoAndPlay Jumps to a frame name or number and lets the movie continue animating from there.

  • nextFrame Moves the movie to the next frame and stops it there.

  • prevFrame Takes the movie back one frame and stops it there.

The stop command is usually placed in a frame script to pause the movie and let the user take control of what happens next. The other movie control commands are usually placed in on (release) button handlers.

  • + Share This
  • 🔖 Save To Your Account