Skip to content

Instantly share code, notes, and snippets.

@anovsiradj
Last active May 14, 2016 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anovsiradj/7e82cb7e1859ab8682791d59e8411fc8 to your computer and use it in GitHub Desktop.
Save anovsiradj/7e82cb7e1859ab8682791d59e8411fc8 to your computer and use it in GitHub Desktop.
Flex Actionscript

Menggunakan Flex.

mxmlc path/to/StageExample.as

Kode demo untuk tutorial di Youtube

package {
import flash.display.Sprite;
import flash.text.TextField;
public class StageExample extends Sprite {
public var txt1:TextField = new TextField();
public function StageExample() {
txt1.text = "Hello World!";
txt1.width = 100;
addChild(txt1);
txt1.x = 10;
txt1.y = 10;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment