REVIEW FOR LESSON 10 Special Events 1. What is the best definition for a variable? A. B. C. D. A number A letter that stands for any number A placeholder for something else A permanent constant for a number or word 2. An instance of a MovieClip named Box is on the stage. What is the first thing I need to do to change the properties of that instance in ActionScript? A. B. C. D. Give it an instance name Open my actions panel Type Box.whateverProperty = someNewValue; This is still not the right answer 3. What is the correct way to define and start a Timer? A. var myTimer:Timer(500,500); Timer.start(); B. var myTimer: Timer; myTimer = new Timer(10,1000); C. var myTimer; myTimer.start(500,500); D. var myTimer:Timer; myTimer = new Timer(500,500); myTimer.start(); 4. What does the number 1000 represent in this declaration: makeSmileysTimer = new Timer(1000, 200); A. The number of Smileys that will be made B. The length of time in milliseconds between each time the timer goes off. C. The number of functions it can call. D. The length of time in seconds between each time the timer goes off. 5. What is the correct syntax for an Event Listener? A. start_btn.addEventListener(MouseEvent); B. start_btn.EventListener(Event.KeyboardEvent); C. start_btn.addEventListener(MouseEvent.CLICK, startGame); D. start_btn.addEventListener = MouseClick; 6. Which EventListener/function combination will move an object across the screen just using ActionScript? A. stage.addEventListener(Event.ENTER_FRAME, myFavFunction); function myFavFunction(event:Event):void { box_mc.x += 10; } B. stage.addEventListener(MouseEvent.CLICK, moveMe); function moveMe(event:MouseEvent):void { box_mc.x += 10; } C. box_mc.addEventListener(Event.ENTER_FRAME, moveMe); function moveBox(event:Event):void { box_mc.x += 10; } D. stage.addEventListener(Event:Event, moveMe); function moveMe(event.ENTER_FRAME):void { box_mc.x += 10; }