![]() Public function sayHello( userName:String = ""):String */ public static var validNames:Array = /** * Builds a greeting string using the given name. ** * Defines the names that receive a proper greeting. Of the custom class Greeter, which you just wrote.Ĭontinue with Publishing and testing your ActionScript application.Ĭhange the contents of the file to the following (new andĬhanged lines are shown in boldface): package The “Hello World!” string returned by the sayHello() method ![]() Sets the text value of the mainTxt TextArea to That is called when the application loads. Layout style (vertical layout) for the Application tagĪ field to display text messages to the userĬode in the tag defines an initApp() method To create an ActionScript application using Flash Builder:įile, and add code to match the following listing:
0 Comments
Leave a Reply. |