1 / 4

REVIEW FOR LESSON 9

REVIEW FOR LESSON 9. Srings & Text Boxes. 1. How do I change the text of a dynamic text box with the name changeMe_txt ?. You can’t change the value of dynamic text boxes, only input text boxes. changeMe_txt = “Two guys walked into a bar; you would think that one would’ve ducked.”;

tamira
Download Presentation

REVIEW FOR LESSON 9

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. REVIEW FOR LESSON 9 Srings & Text Boxes

  2. 1. How do I change the text of a dynamic text box with the name changeMe_txt? • You can’t change the value of dynamic text boxes, only input text boxes. • changeMe_txt = “Two guys walked into a bar; you would think that one would’ve ducked.”; • changeMe_txt.text = A jiffy is an actual unit of time for 1/100th of a second.; • changeMe_txt.text = “Q. What dog keeps the best time? A. A watch dog.”;

  3. 2. What’s the correct way to define and initialize a variable that can hold words? • varstring:Number = 22; • varmyString:String = 455; • varmyString:Words = “Word one and word two”; • varmyString:String = "Q. What did the water say to the boat? A. Nothing, it just waved.";

  4. 3. The Box MovieClip has been exported for ActionScript with the class name mcDude. What is the correct way to add an instance of the mcDudemovie clip to the stage just using ActionScript? A. varmyMovie:MovieClip; addChild(myMovie); B.addChild(mcDude); C.varmyDude:MovieClip; myDude = new mcDude(); addChild(mcDude); D. varmyMovie:MovieClip; myMovie = new mcDude(); addChild(myMovie);

More Related