Tag Archives: Spring 2016

Spring 2016 – 43 – Buttons and ActionScript

Objective:

  • Use ActionScript to control the Timeline or add interactivity to animations.
  • Place ActionScript code in frames on the Timeline or in external files.
  • Use keyboard shortcuts to view ActionScript.
  • Add event listeners and stop actions.
Student-Friendly Objective:

  • I can use ActionScript to control the Timeline and add interactivity to animations.

Video Links:

Getting Started: Add a stop() statement in ActionScript 3.0
:
https://www.dummies.com/how-to/content/add-a-stop-statement-in-flash-cs5-actionscript.html

Getting Started: How to use gotoAndPlay() and gotoAndStop() in ActionScript 3.0:
https://www.dummies.com/how-to/content/how-to-use-gotoandplay-and-gotoandstop-in-flash-cs.html

  • ActionScript 3.0
  • Timeline
  • Layers
  • Event Listener
  • Stop Action
  • Button Symbols

Assignment:

  1. Open the “Pac-Man” animation created last week.
  2. Read the information in both of the above links to learn how to apply ActionScript 3.0 to create stop actions and to control the position of the playhead during animation playback.
  3. Use the technique demonstrated in the linked tutorials to create a button called “Rewind” that replays your animation from the beginning.
  4. Use the same technique to create a second button called “Chase” that only plays the portion of your Pac-Man animation where Pac-Man chases the Blue Ghost off the stage.
  5. Save your work. Turn in your animation with functioning Rewind and Chase buttons, titled “Your Name – Pac Man Controls.fla” file to folder “43 – Pac Man Controls” into your period’s subfolder by the end of today.

Assigned: April 25nd, 2016
Due Date: April 26th, 2016

Spring 2016 – 42 – Animating With Keyframes

Objective:

  • Produce a Flash animation using Embedded Animation, Motion Tweens and Keyframes.

Student-Friendly Objective:

  • I can produce a complete Flash animation using Embedded Animation, Motion Tweens and Keyframes.

Video Link:
Pac Man Animation Example #1

Topics Discussed:
  • For a complete list of Topics Discussed, please see the previous lessons, Flash Days 1-7.

Assignment:

  1. Open the “Pac-Man” animation produced in Lesson 41 – “Animating Within a Symbol”. Your Pac-Man symbol should now cross the Stage once, opening and closing his mouth (using the embedded animation technique we learned last Friday) and eating dots as he moves (using the keyframe animation technique we learned on Monday).
  2. Today, your objective is to complete this animation by adding a Red Ghost chasing Pac-Man off the stage to the right, then having Pac-Man eat the power pellet and chase a Blue Ghost to the left. You will need to utilize Symbols, Layers, Keyframes and Motion Tweens to achieve this. You may use any resources you have available to you to determine the best way to do this. Examples of resources include: This website and the previous lessons, The Learn Flash Professional video series linked from the previous lesson pages, Google Search, and your neighbors.
  3. You will need to draw your own red and blue ghosts using the drawing tools in Flash (or Illustrator, but they will need to be imported as Symbols), and convert these ghosts to symbols so they can be moved using Motion Tweens.
  4. The animation should play for at least 60 frames, but should not be more than 240 frames of animation.
  5. Press Command + Return (Ctrl + Enter on the PC) to test your movie.
    • Pac-Man should move across the stage (with the embedded mouth “chomping” animation)
    • Pac-Man should be chased by a Red Ghost monster to the right side of the stage, where he will eat the Power Pellet, turning the Red Ghost to a Blue Ghost.
    • Pac-Man should chase the Blue Ghost monster back across the stage to the left, and exit the stage on the left hand side.
    • The entire animation should be completed in no more than 240 frames.
  6. Save your work as “Your Name – Animating With Keyframes” into the “42 – Animating With Keyframes” folder in your period’s subfolder by Thursday, April 21st.

Finished Product Example:

Pac Man Animation Example #2

Good Luck!

Assigned: April 19th, 2016
Due Date: April 21st, 2016