4.11.2006, 18:58
Submited in: Flash | Total Views: 45571
Tutorial shows you how to push the object away using the Action Script in flash 8. You will also learn how to convert that object into a Movie Clip Symbol, how to use Action Script Panel and more.
Step 1
Create a new flash document, and choose Modify > Document (Ctrl+J) and set Width to 300 and Height to 250px. Frame rate set to 70fps (Frames per Second).
Step 2
Create, or Import any object, and convert it into a Moive Clip.
Step 3
Double click on a new made Movie Clip (object) to go in its inside.
Step 4
After that insert a new layer and name it action.
Step 5
Click on frame 1 of layer action, open the Action Script Panel (F9), and paste this script:
x00 = _x; y00 = _y; MAAI = 400;
Step 6
Click on frame 2, press F6 key, open the Action Script Panel (F9), and paste this script: