Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 372

review Questions 1 How do you load external Flash content? 2 What are the advantages of loading external Flash content? 3 How do you control the Timeline of a movie clip instance? 4 What is a mask and how do you create one? review answers 1 You use ActionScript to load external Flash content. You create two objects: a ProLoader and a URLRequest object. The URLRequest object specifies the filename and file location of the SWF file that you want to load. To load the file, use the load() command to load the URLRequest object into the ProLoader object. Then display the ProLoader object on the Stage with the addChild() command. 2 Loading external content keeps your overall project in separate modules and prevents the project from becoming too bloated and difficult to download. It also makes it easier for you to edit, because you can edit individual sections instead of one, large, unwieldy file. 3 You can control the Timeline of movie clips with ActionScript by first targeting them by their instance name. After the name, type a dot (period), and then the command that you desire. You can use the same commands for navigation that you learned in Lesson 6 ( gotoAndStop , gotoAndPlay , stop , play ). Flash targets that particular movie clip and moves its Timeline accordingly. 4 Masking is a way of selectively hiding and displaying content on a layer. In Flash, you put a mask on the top Mask layer and the content in the layer below it, which is called the Masked layer. Both the Mask and the Masked layers can be animated. To see the effects of the Mask layer on the Masked layer, you must lock both layers. Adobe FLAsh ProFessionAL Cs6 CLAssroom in A book 363