Skip to content

Instantly share code, notes, and snippets.

@anovsiradj
Last active May 14, 2016
Embed
What would you like to do?
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