flash on 2012-3-3

by tepe
♥0 | Line 13 | Modified 2012-03-03 15:16:17 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    import flash.text.*;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var tf:TextField = new TextField();
            addChild(tf);
            tf.text = " ";
            tf.appendText("aaa");
            //tf.text = "include";// ←コメントを外すとエラーになる
            var str:String = "bbb";
            
        }
    }
}