flash on 2011-2-3

by omari
♥0 | Line 13 | Modified 2011-02-03 00:08:19 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Shape;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public var s:Shape = new Shape();
        public function FlashTest() {
            s.graphics.beginFill(0xff9900);
            s.graphics.drawRect(0,0,100,100);
            s.graphics.endFill();
            addChild(s);s
            
        }
    }
}