flash on 2010-2-15
♥0 |
Line 16 |
Modified 2010-02-15 11:22:23 |
MIT License
archived:2017-03-20 15:08:45
ActionScript3 source code
/**
* Copyright kojiOGATA ( http://wonderfl.net/user/kojiOGATA )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/5iCF
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
init();
}
private function init():void{
var tf:TextField = new TextField();
tf.text = "hello wonderfl.";
x = (stage.stageWidth - width) / 2;
y
addChild(tf);
}
}
}