flash on 2013-4-8

by tananuka13
♥0 | Line 15 | Modified 2013-04-08 22:20:13 | MIT License
play

ActionScript3 source code

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

package {
    import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            
            var a:int
            var b:int
            
            var txt:TextField = new TextField()
            addChild(txt)
            
            a = 4;
            b = ~4;
           
           txt.text = String( a + "& " + b + '= ' + String(a&b) );
           
            
        }
    }
}