Flash Movie Control

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Flash Movie Control as PDF for free.

More details

  • Words: 274
  • Pages: 5
Flash Movie Control

-

Use the rectangle tool to draw a button. Right Click, convert it to a button.

-

Find a picture of your favorite cartoon character. Then right click, convert it into a Movie Symbol.

-

Double click into your Movie. Insert a Keyframe. You should have two different key frames as displayed in the picture above.

-

On your second key frame, use the Transform tool to mirror the image horizontally.

-

Click back and forth between the first and second key frame. You may want to move the cartoon character a bit.

-

Now click on Scene 1. If you run the program you will see Pikachu dancing. Ctrl+Enter to run.

-

From Scene 1, click on your cartoon with the selection tool (black arrow). Notice that a blue box appear around all symbols. Name the Movie Clip instance name to cartoon.

-

Now click on the Frame.

-

Then click on Actions. Notice that we are in Actions  Frame

-

Add the following code.

-

Notice that the _visible and false words turn blue. Blue means that these are special Flash Actionscript words. Actionscript is the programming language of Flash.

-

Now click on your button. Then click on Actions. You should see Actions  Button… NOT Actions  Frame. Then type in the code above.

-

Now run your program.

-

CHALLENGE: Try to make the Pikachu movie fade in then play. o

Hint: you may need to use the following code: stop(); movie

 pauses the

o

cartoon.gotoAndPlay(1);  plays the first frame of the cartoon

o

Ask Mr. Kim because I know you are confused.

Related Documents

Flash Movie Control
June 2020 5
Movie
November 2019 60
Movie
June 2020 35
Flash
May 2020 22