flash on 2011-7-11

by enecre
♥0 | Line 14 | Modified 2011-07-11 00:22:58 | MIT License
play

ActionScript3 source code

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

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        
        private var tf:TextField = new TextField
        
        public function FlashTest() {
            // write as3 code here..
            
            addChild(tf)
            
            var x:uint = 0;
            var i:int = -1;
            x += i;
            tf.text = String(x);
        }
    }
}