const test

by ruedap
♥0 | Line 12 | Modified 2011-01-29 16:06:10 | MIT License
play

ActionScript3 source code

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

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            const HOGE:String = "hoge";
            var tf:TextField = new TextField();
            tf.text = HOGE;
            addChild(tf);
            //HOGE = "fuga";
        }
    }
}