Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
ПРАКТИЧЕСКИЕ ЗАДАНИЯ по учебной практики.docx
Скачиваний:
2
Добавлен:
26.09.2019
Размер:
3.81 Mб
Скачать

Практическая работа № 15

Creating Firemen Game

1. Launch "T6-firemen.swf" to have a preview of what can be accomplished from this tutorial.

  1. Run Macromedia MX, open the flash document saved as "T6-firemen.fla".

3. Press Ctrl + L and drag a “soldier” movie clip from the library.

4. Point to the “soldier” movie clip and type the following codes:

5. Now drag a “stretcher” movie clip from the library.

6. Place the “stretcher” movie clip in the middle of “soldier” movie clip as shown below:

Stretcher put in the middle of the firemen

7. Point to the “stretcher” movie clip and type the following codes:

8. Give the “stretcher” movie clip an Instance name “getit”

9. Drag six “evil” movie clips from the library.

10. Place the six “evil” movie clips on top of the stage, which is outside the yellow screen and space up each “evil” movie clip as shown below:

11. Instance “evil” movie clip with the name from “m1”, “m2”, “m3”, “m4”, “m5”, “m6” respectively.

m2

m3

m4

m5

m6

12. Double click one of the “evil” movie clip, inside the “evil” movie clip there is “dropping” movie clip. Point and select the “dropping” movie clip, press F9, and type the following codes:

13. In the main stage, create one new layer, press F6 to create one keyframe in the 1st frame and type the following code:

  1. In the similar main workspace and layer, point to 2nd frame, press F7 to create and new blank keyframe, and then type the following codes:

That's all, run your movie and check it all works. If not go back though this tutorial and check you haven't missed anything,