Toxiclab.org

Law of gravity

17.4.2006, 19:36
Submited in: Flash | Total Views: 42247

In this tutorial, you will learn how to create a "circle" that is jumping up and down according to law of gravity. This tutorial will also teach you a basic of motion tweening and more.

Example:



Step 1

Open a new Flash document. Select Modify > Document (shortcut key: Ctrl+J). Set the width of your document to 250 pixels and the height to 280 pixels. For Frame rate choose 24 fps (Frames per Second) and press ok.



Step 2


Create any "circle" using the Oval Tool (O). See the picture below.



Step 3

Select that "circle" (Ctrl+A), and press F8 key (Convert to Symbol) to convert this "circle" into a Graphic Symobl.



Step 4

Place the "circle" at the top position of stage. See the picture below.


Step 5

Click on frame 15 and press F6 key (Insert keyframe).



Step 6

Take the Selection Tool (V), select the "circle", press and hold down Shift key, and move that circle at the bottom of stage.

Step 7

Click on frame 16, press F6 key, take the Free Transform Tool (Q), and do like it is shown on the picture below.



Step 8

Click on frame 17, press F7 key on the keyboard (blank keyframe). Go back on frame 15 and press Ctrl+C key (Copy).

Step 9

Then, click on frame 17 and press Ctrl+Shift+V key (Paste in place). After that click on frame 32 and press F7 key (Blank keyframe).

Step 10

Go back on the first frame, press Ctrl+C key (copy), select frame 32 and press Ctrl+Shift+V key (Paste in place). See the picture below.



Step 11

Go back again on the first frame, open the Properties Panel (Ctrl+F3) and choose the options like it is shown on the picture below.



Step 12

Click on frame 17, open and in the Properties Panel below the scene, choose the options like it is shown on the picture below.




We're done!

Test your movie (Ctrl+Enter).

Have a nice day!

Download example (44 KB)

Are you a website owner?
Click here to register and submit your tutorials!

Browse by category


Most popular tutorials


Resources Worth visiting


Friends