|
Free Open Book
Macromedia Flash 8 Bible |
Motion Guides and Movie Clip MasksAs you have seen in the examples so far, you can Shape tween primitive shapes (and Drawing Objects) or Motion tween symbol instances (and Drawing Objects) directly on the Main Timeline in Mask layers to create animated masks. But what if you want to add more control to the movement of a mask? Unfortunately, one of the limitations of Mask layers is that they can't be nested below Motion guide layers to become guided elements. However, by using a Movie Clip symbol instance as the content of your Mask layer, you have the option of adding a Motion guide to the Movie Clip timeline to control the movement of the element that defines your mask. To create a mask that contains an element controlled by a Motion guide, follow these steps:
Figure 13-19: Insert a Movie Clip symbol that will contain the Motion guide to control the animated mask content.
Figure 13-21: The first frame of the Movie Clip animation visible on the Mask layer in the Main Timeline
Figure 13-22: Use Edit-in-place mode to align the Motion guide on the Movie Clip timeline with the content on the masked layer of the Main Timeline.
Of course, you can also animate content on masked layers separately from the content on Mask layers. But the endless possibilities for layering masks and masked content starts to get confusing when the additional variable of animation is thrown in. To make the best use of these features, take the extra time to carefully consider the most efficient way to achieve the final effect that you want. First consider what you would like to see on the Stage, and then plan any animation of visible elements. The next step should be adding a mask if needed, and finally adding animation to the mask itself. Try to create your effects with the fewest possible animated elements — you will waste less production time and end up with a more optimized file.
Keeping some basic principles in mind as you are working with multiple masks and animated elements will help you to follow the logic of masking in Flash:
|
Main Menu |
| 500 Juegos Gratis | 500 Giochi Gratis | 500 Jeux Gratuits | 500 Jogos Gratis | 500 Kostenlose Spiele |