return to tutorial

Your code should look like this:

var circle:Shape = new Shape();
circle.graphics.beginFill(0x00FF00);
circle.graphics.drawCircle(150, 150, 50);
circle.graphics.endFill();
addChild(circle);

 

screenshot 4