• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Hour 5. Controlling the Flow of the Movie > Jumping from Frame to Frame

Jumping from Frame to Frame

Another basic ActionScript command is the gotoAndPlay command that we have already seen many times in examples. This command jumps from the current frame to any frame you specify. You can use a number or a frame marker name. Here are some examples:

gotoAndPlay(7);
gotoAndPlay(20);
gotoAndPlay("my frame label")


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint