 |
|
|
|
|
| Animating the Fade |
|
 |
 |
|
| Step 54. |
| This is the 7th part of this flash tutorial, where the fade will now be animated. Go back to the "fade_move_mc", and name the layers as shown below |
 |
|
|
| Step 55. |
| On the mask layer, create a red rectangle as shown below |
 |
|
|
| |
| Step 56. |
| Create a key frame (F6) at frame 30 of the gradient layer |
 |
|
|
| |
|
|
| Step 57. |
| Right click on any frame on the gradient layer and choose "Create Motion Tween" |
 |
|
|
| |
| Step 58. |
| Extend (F5) the frames of the mask layer to 30 |
 |
|
|
| |
| Step 59. |
| Right click on the "mask" layer text and choose "mask" |
 |
|
|
| |
| Step 60. |
| Create a blank keyframe (F7) at frame 30 of a new layer called "script". Open up the Actions panel and enter a stop() action. |
 |
|
|
| |
| Step 61. |
| Now we need to add some code the the button functions, which will tell the fade to start. So go back to the main MC and enter the code shown on lines 2, 6 & 10 |
 |
|
|
 |
|
|
|
|
|
|
 |