textField TEST

by _perfect
備忘録
シンプルなtextField
♥0 | Line 12 | Modified 2010-10-09 12:23:48 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    import flash.text.TextField;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var tf:TextField = new TextField();
            tf.text = "hogehoge";
            tf.width = 300;
            addChild(tf);
        }
    }
}

Forked