flash on 2011-4-22

by yamat1011
♥0 | Line 12 | Modified 2011-04-22 19:07:24 | MIT License
play

ActionScript3 source code

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

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var tf:TextField = new TextField();
            addChild(tf);
            
            tf.maxChars = 10;
            tf.text = "あめんぼあかいなあいうえお";
        }
    }
}