The TextField will also support text on multiple lines and display the text with a 20 point Times Roman font. Var displayText:TextField = new TextField() displayText.width = 1000 displayText.height = 1000 displayText.multiline = true var tf:TextFormat = new TextFormat() tf.size = 20 tf.font = "Times New Roman" Click your mouse button, and type in the code below to create and place a TextField on the flash stage that has a width of 1,000 pixels and a height of 1,000 pixels: Position your mouse cursor on the first line of the ActionScript 3 editor. Select "Actions" from the "Window" menu on the main Flash menu bar to open the ActionScript 3 editor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |