Top Banner
Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?
11

Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Dec 27, 2015

Download

Documents

Joanna Gardner
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Aim: How can we create a car, bike or truck with rotating wheels using ACTION

SCRIPTING?

Page 2: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Design your car, truck or bike on paper.

Page 3: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Opening Flash, create the main design, without the wheels.

Page 4: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Go to Insert/New Symbol.

Page 5: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Name the symbol and make a MOVIE CLIP.

Page 6: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Design your Tires within your MOVIE CLIP Symbol.

Page 7: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Go to Back to the Stage and bring up your LIBRARY.

Page 8: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Drag the MOVIE CLIP of your tire onto the Stage.

Page 9: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Modify/Transform/Free Transform and put your tire in place.

Page 10: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

Go to Window ACTIONS with your tire selected and paste in the following

script. (available on our Learning Portal.)

onClipEvent(enterFrame){_rotation += 2; // 2 or desired speed in degrees of

rotation per frame}

Page 11: Aim: How can we create a car, bike or truck with rotating wheels using ACTION SCRIPTING?

The + sets CLOCKWISE or COUNTER CLOCKWISE. The 2 sets the speed, which

can be increased.

onClipEvent(enterFrame){_rotation += 2; // 2 or desired speed in degrees of

rotation per frame}