Flash Exercise 2

FOCUS Buttons and Timeline control

PURPOSE Show your competence in button design and scripting, frame labels and use of ActionScript: gotoAndPlay() and stop().

VALUE 5 points (see Grading):

DETAILS Create a new, original SWF that contains three different simple animations on the same Timeline. Include three buttons, each scripted to go to and play a different animation. Embed the SWF object on an HTML page, and upload both files to your Web site. Also upload the FLA to to your Web site.

Requirements

Example

[You will need to install the Flash Player
or enable JavaScript in your browser
to see the missing content.]

Click all the buttons. Click them fast. Click one button five times in a row, very fast. Click them in different order. Notice that no matter how you click them, the functionality is bulletproof. You cannot "break" the buttons. That is good.

Notice also that the three animations are totally different from one another. That is also good.

Instructions

  1. Create an entirely new FLA for this assignment.
  2. Create three new Graphic symbols in the FLA.
  3. Create at least one new Button symbol in Flash. (Do NOT use any buttons from the Common Libraries or from other people.)
  4. Create three entirely different animation sequences -- each one with its own frame label and its own stop() action (see Lesson 5).
  5. Place three buttons on the Stage. Script each button to start a different one of your three animations.
  6. Your Timeline should look similar to the one shown on p. 112 in McAdams.
  7. Use Publish Settings in Flash (see Lesson 3) to generate an HTML page with your SWF embedded in it.
  8. Copy the SWF, the HTML file and the FLA into your Web folder (this means the folder on your hard drive that you defined in Dreamweaver as your site folder).
  9. Upload all three files to your Web site.