flash on 2011-1-17

by Quasimondo
♥0 | Line 13 | Modified 2011-01-17 08:34:41 | MIT License
play

ActionScript3 source code

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

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var a:int = 5;
            var tf:TextField = new TextField();
            addChild(tf);
            
            tf.appendText( (a * 4 + 10) + "\n" );
            tf.appendText( (a << 2 + 10) + "\n" );
                      
              
        }
    }
}