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

Q&A

Q1: I put an Action (gotoAndPlay (5)) in the last frame of my movie and I swear it's never reaching the last frame, because I have some text that is supposed to appear briefly onstage—on just that last frame. It works only if I put the graphics one frame before the gotoAndPlay Action—why?
A1: This is a critical concept: Frame Actions are executed before the onstage graphics of that frame are displayed. If your Action says to go to another frame, it goes to the other frame before drawing the stage.
Q2:Why does my movie loop (effectively doing a gotoAndPlay(1) on the last frame) even though I haven't put any Actions in the movie?
A2: The option to automatically loop is set by default when you test the movie (and when you publish the movie). While testing, you can uncheck the option to loop from the Control menu (the Control menu of the Flash Player—not the Flash authoring program). If you turn this off, you most certainly won't see the movie loop unless you include an Action. By the way, normally you don't need a stop Action at the end of your Timeline; if you simply uncheck the Loop option (when you publish), it will automatically stop on the last frame.
Q3:Which Action do I use to create a game such as I might see in a commercial video game?
A3: I hope it's obvious that we are taking baby steps first. It's amazing the kind of powerful things we've done this hour. It's going to take a lot more work before you're cranking out video games—though amazing games can be created, it takes a lot of work. We're just laying the foundation.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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