How to Guide-Flash 5

 

Opening doors

 

1. Create a new movie with these settings

Frame Rate: 20 fps

Stage dimensions:  550 X 400

Back ground color: white

 

2. You need 10 layers in time line. Name them as follows:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3. In the Props layer, insert a keyframe at frame 50, turn off the visibility of all layers except the Props layer. Drag an instance of the graphic symbol from the library on to the stage and center the instance.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4. You need to create two instances for left door and right door (graphic). (All symbols are stored in the library)

5. In the door1 layer, insert a keyframe at frame 50, and drag the left door instance from the library onto center of the stage and insert a keyframe at frame 80 and place the door at the beginning of the stage and apply motion twinning to it. (see Picture)


Door at frame 50

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Door at frame 80

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6. In the door 2 layer, insert a keyframe at frame 50, and drag the right door instance from the library onto center of the stage and insert a keyframe at frame 80 and place the door at the end of the stage and apply motion twinning to it. (See Picture above)

 

7. In the action script apply “stop” action to doors at the frame 80 in both the door layers.

 

Important- Both door layers should be at the top of the time line. You can add any kind of animation in the background layer and props layer.