|
|
|
|
|
Date: 27.3.2007, 1:8 Total views: 57795
Step 23
Select keyframe 8 and set the following options:

Step 24
Select keyframe 9 and set the following options:

Step 25
Select keyframe 10 and set the following options:

Step 26
Select keyframe 11 and set the following options:

Step 27
Select keyframe 12 and set the following options:

Step 28
Click on frame 25 and press F6 key. While you're still on frame 25, take again the Selection Tool (V) and click once on the cube to select it. Then, go to the Properties Panel below the stage. On the right, you will see the Color menu. Select again Advanced in it, click on Settings button and set the following options:

Step 29
Go back on keyframe 12 (frame 22) and open the Properties Panel (Ctrl+F3). Then, select Motion from the Tween menu.


Step 30
Click on frame 25 and press F6 key. Then, select again a cube and go again on the Properties Panel below the stage. On the right, you will see the Color menu. Select None in it.

Step 31
Click on frame 45 and press F6 key. Them, press F8 key (Convert to Symbol) to convert this graphic symbol (cube) into a Movie Clip Symbol.

Step 32
Double-click on the movie clip on stage with the Selection tool (V). You should now be inside the movie clip.

Step 33
Click on frame 3 and press F6 key. Then, press right-click anywhere on the gray area between the two keyframes on the timeline and choose Create Motion Tween from the menu that appears.See the picture below.

Step 34
Click again on frame 3 and press F6 key fourteen times.

Step 35
Go back on keyframe 3 (frame 4), and repeat step 18.

Step 36
Select keyframe 5, and after that keyframe 7 and repeat again step 18.
Step 37
Select keyframe 8 and repeat step 20.
Step 38
Select keyframe 9 and repeat step 21.
Step 39
Select keyframe 10 and repeat step 22.
Step 40
After that, select keyframe 11,12,13,14,15 and 16 and repeat steps 23-28.
Step 41
Click on frame 20 and press F6 key.

Step 42
Go back on keyframe 16 and open the Properties Panel (Ctrl+F3). Then, select Motion from the Tween menu.
Step 43
Create a new layer and name it Action. After that, select frame 1 and press F6 key three times. See the picture below.

Step 44
Go back on the first frame, open the Action Script Panel (F9) and enter the following Action Script code inside the Actions Panel:
E = Number(getTimer()) + Number(random(10000));
Step 45
Click on frame 2 and enter this code inside the Actions Panel:
if (Number(E) < Number(getTimer())) { gotoAndPlay(4); }
Step 46
And finally, click on frame 3 and enter this code inside the Actions Panel:
gotoAndPlay(2);
Step 47
Go back on the main scene (Scene 1).

Step 48
Select layer1 layer and convert it to a mask by right-clicking on the layer1 layer and selecting Mask. See the picture below.

Step 49
Create a new layer above the layer1 and name it Action layer.

Step 50
After that, click on frame 45 and press F6 key.
Step 51
Then, open the Action Script Panel (F9) again and enter this code inside the Actions panel:
stop();
We're done!
Test your movie (Ctrl+Enter).
Download source file (.fla)
|
|