web design template web design template web design template

Page : 1 2 3 4

8. Select any frame between 1 and 8 and choose Insert > Create Motion Tween

9. Insert a new layer and name it as 'Actions'

10. Select frame 8 on Actions layer and choose Insert > Keyframe

11. Select keyframe at 8 and choose Window > Actions

12. In the Actions panel type the following actions

stop();

13. Now come back into game movie clip.

14. Select the life movie clip, convert it into a movie clip and name it as 'lives'

15. Double click the lives movie clip to inside it and select the life movie clip at frame 1

16. In the Properties panel change the Symbol Behavior to 'Graphic' and set Options for graphics as 'Single Frame'


17. Choose Edit > Duplicate to make a copy of the life movie clip. Make total 5 of them and place them in a row.

18. Select frame 3 and choose Insert > Keyframe

19. At frame 3 select the fifth life graphic and in the Properties panel change the Symbol Behavior to 'Movie Clip'


20. Select frame 5 and choose Insert > Keyframe

21. At frame 5 select the fifth life movie clip and in the Properties panel change the Symbol Behavior to 'Graphic' and set 'Alpha=0'

22. On the same frame select the fourth life graphic and in the Properties panel change the Symbol Behavior to 'Movie Clip'

23. Select frame 7 and choose Insert > Keyframe

24. At frame 7 select the fourth life movie clip and in the Properties panel change the Symbol Behavior to 'Graphic' and set 'Alpha=0'

25. On the same frame select the third life graphic and in the Properties panel change the Symbol Behavior to 'Movie Clip'

26. Similarly add keyframes on frame 9 and 11. Make necessary changes for these frames as per shown in previous two cases.

27. Insert a new layer for actions and select frame 1

28. Choose Window > Actions

29. In the Actions panel type the following action.

stop();

30. Similarly add keyframes on frame 3,5,7,9,11 and assign the same action on all these frames.

31. Now come back into the game movie clip

32. Select the lives movie clip and in the Properties panel type the Instance Name as 'life'

33. Insert a new layer above Life layer and name it as 'Actions'

34. Select frame 1 and choose Window > Actions

35. In the Actions panel type the following actions

Mouse.show();
stop();



1. Choose Window > Library > background1

2. In the Library window click the Options tab to open the menu and choose Duplicate...

3. In the Duplicate Symbol type 'background2' and create a copy of background1 movie clip


4. Double click the background2 movie clip in the Library to go inside it.

5. Delete the 'speedball' graphic and change the patch color from Orange to Green.



6. Choose Window > Library > game

7. Double click the game movie clip to go inside it.

8. Select frame 2 on background 1 layer and choose Insert > Keyframe

9. At frame 2 select the background 1 movie clip. In the Properties panel with the help of Swap Symbol button, swap background 1 movie clip with background 2 movie clip



10. Select frame 2 on Previous and Highest Score layers, choose Insert > Frame

11. Select frame 2 on Click Button layer and choose Insert > Blank Keyframe

12. Select frame 2 on Life layer and choose Insert > Frame

13. Select frame 2 on Actions layer and choose Insert > Keyframe

14. Choose Window > Actions

15. In the Actions panel type the following actions

_root.numx=12;
_root.numy=6;
_root.score=0;
_root.hit=5;

// numx, numy, score and hit are the variables which are initialized here at the start of the game.

16. Select frame 3 on all the layers and choose Insert > Frame

17. Insert a new layer above Background 1 layer and rename it as 'Score'

18. Select frame 3 on Score layer and choose Insert > Keyframe

19. With the help of Text Tool create a 'Dynamic' text field. In the Properties panel type Variable as '_root.score'



1. Insert a new layer above Score layer and rename it as 'Walls'

2. Select frame 3 on Walls layer, choose Insert > Keyframe and create a horizontal patch with two colors and Width = 142. The inside color should be of the same color of the background 2 movie clip's Green color and another should be Black.

3. Select these two color patches and convert it into a Movie Clip with the bottom center Registration point selected and name it as 'wall1'


4. Choose Edit > Duplicate to make another copy of wall1

5. Select the copy of wall1 and choose Modify > Transform > Rotate 90 degree CW

6. Choose Window > Info

7. In the Info panel type Height of instance as '190' and set both walls as shown in the image.







© Image Online  2001-2003