flash on 2010-5-2

by qop
♥0 | Line 13 | Modified 2010-05-03 03:38:24 | MIT License
play

ActionScript3 source code

/**
 * Copyright qop ( http://wonderfl.net/user/qop )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/kxSw
 */

package {
    import flash.display.*;
    import flash.text.*;
    public class first extends Sprite{
        public function first(){
            var tf1:TextField = new TextField();
            tf1.text = "wa-wa-wa-";
            tf1.x = 50;         //表示テキスト横位置
            tf1.y = 20;         //表示テキスト縦位置
            addChild(tf1);      //追加
        }
    }
}