Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 365
In this function, which is executed when the user clicks the ProLoader object,
the ProLoader object is removed from the Stage, and then the playhead of each
movie clip on the Stage moves to the first frame and begins playing.
3 Choose Control > Test Movie > in Flash Professional to preview the movie.
Click on any of the four sections, and then click on the loaded content to return
to the main movie.
When you return to the main movie, all four movie clips play their nested
animations.
Creating Masks
Masking is a way of selectively hiding and displaying content on a layer. Masking is
a way for you to control the content that your audience sees. For example, you can
make a circular mask and allow your audience to see only through the circular area,
so that you get a keyhole or spotlight effect. In Flash, you put a mask on one layer
and the content that is masked in a layer below it.
Masks can be animated, and the content that is masked can also be animated. The
circular mask can grow bigger to show more content, or the content can scroll
under a mask like scenery whizzing by a train window.
356
Lesson 9
Loading and Controlling Flash Content