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):
- 2 points for meeting all the requirements (below)
- 1 point for acceptable appearance (that is, no one is likely to say, "That looks bad!")
- 1 point for professional appearance (most people would say, "Wow, that's good!" even if they did not know it was student work)
- 1 point for originality
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
- At least three Graphic symbols must appear in the Library.
- At least one Button symbol must appear in the Library.
- Use only button(s) you personally built from scratch.
- In each of the three animations, use a different symbol.
- Use frame labels, NOT frame numbers.
- All three buttons must be visible at all times.
- Do not import or paste any images into Flash from outside sources. Use the drawing tools in Flash to create the symbols and buttons.
- Follow all the instructions below.
- Upload ALL THREE files (SWF, FLA, HTML) to your Web site and send me two URLs -- (1) the HTML page, and (2) the FLA -- via e-mail, by the deadline.
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
- Create an entirely new FLA for this assignment.
- Create three new Graphic symbols in the FLA.
- Create at least one new Button symbol in Flash. (Do NOT use any buttons from the Common Libraries or from other people.)
- Create three entirely different animation sequences -- each one with its own frame label and its own stop() action (see Lesson 5).
- Place three buttons on the Stage. Script each button to start a different one of your three animations.
- Your Timeline should look similar to the one shown on p. 112 in McAdams.
- Use Publish Settings in Flash (see Lesson 3) to generate an HTML page with your SWF embedded in it.
- 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).
- Upload all three files to your Web site.