|
Free Open Book
Macromedia Flash 8 Bible |
Using the Custom BlurFader ComponentSo far, much of the material and artwork used in this presentation could have been accomplished with a traditional HTML page layout in Macromedia Dreamweaver with GIF or JPEG graphics. In this section, you will add a fade effect to each of the video items in the videoEquip symbol. We created a custom component that can be applied to any Movie Clip instance on the Stage. This component will fade in or out a Movie Clip instance, based on settings in the Property inspector. To see this fade effect in action, open the main.swf file from the ch20 folder in Flash Player 8. When you go to the Video Equipment section, each item will fade in. In other words, the alpha of the each Movie Clip instance animates from 0 to 100 percent.
The BlurFader component snaps to Movie Clip instances. Because we built the component for you, you won't find the BlurFader component in the Component panel along with the Flash 8 components. The BlurFader component is located in the starter document's Library and has been saved in each version of the main_ document that you've created in previous sections. Here's how to add the BlurFader component to the video items in the videoEquip symbol:
If you want to use the BlurFader component in other Flash documents, simply drag the BlurFader component from one Library to another document's Library. Alternatively, you can copy and paste the BlurFader component instance from one document to another. Try different Duration values for the BlurFader component (in the Property inspector) to see how the fade animation is affected in the Flash movie.
|
Main Menu |
| 500 Juegos Gratis | 500 Giochi Gratis | 500 Jeux Gratuits | 500 Jogos Gratis | 500 Kostenlose Spiele |