first wonderfl

by nekey
♥0 | Line 13 | Modified 2010-05-08 12:04:46 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    import flash.display.Graphics;
    public class drawMyCircle extends Sprite {
        public function drawMyCircle() {
          var child:Sprite = new Sprite();
            child.graphics.beginFill(0xf24f3f);
            child.graphics.drawCircle(50,50,30);
            child.graphics.endFill();
            addChild(child);
        }
    }
}