tailieunhanh - Adobe Flash chuyên nghiệp - p 36
In this function, which is executed when the user clicks the Loader object, the Loader 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. | In this function which is executed when the user clicks the Loader object the Loader 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 only see 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. So 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. Define the Mask and Masked layers You ll create a rectangular mask that starts small and grows larger to cover the Stage. The resulting effect reveals the contents of the Masked layer slowly similar to a sliding door opening. ADOBE FLASH PROFESSIONAL CS5 CLASSROOM IN A BOOK 341 Download from Library of Wow ebook 1 Open the file . A single layer called content contains a movie clip of the second section about a new car. 2 Insert a new layer above the content layer and rename it mask. 3 Double-click the icon in front of the layer name. The Layer Properties dialog box appears. 4 Select Mask and click OK. 342 LESSON 9 Loading and Controlling Flash Content Download from Library of Wow ebook The top layer becomes a Mask layer. Anything that is drawn in this layer will act as a mask for a Masked layer below it. 5 Double-click the icon in front of the bottom layer named content. The Layer .
đang nạp các trang xem trước