flash on 2015-4-29

by shaktool
♥0 | Line 13 | Modified 2015-04-29 12:49:37 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var hello: Boolean = (1 == true);
            if (hello) {
                graphics.beginFill(0);
                graphics.drawRect(0, 0, 100, 100);
                graphics.endFill();
            }
        }
    }
}