Skip to main content

Posts

Showing posts from May 14, 2017

"Action Script" from Programming Template

How do I get memory, i.e how are variables declared ? And specific facts and constraints about variables ? Ex : var food:String; food=”pizza”; Var : keyword, needed by syntax Food: user specific name String: data type, it can be class name or interface name. trace("My favorite food is " + food); // displays "My favorite food is pizza" ________________________________________________________________ How do we get the entry point for the program execution ? Select File > New. In the New Document dialog box, select Flash Document, and click OK. A new Flash window is displayed. Select File > Save. Select the same folder that contains the Greeter.as class file, name the Flash document HelloWorld.fla, and click OK. * In the Flash Tools palette, select the Text tool, and drag across the Stage to define a new text field, approximately 300 pixels wide and 100 pixels high. * In the Properties panel, with the text field still selected on the St