return to tutorial

Your code should look like this:

 

var roundSquare:Shape = new Shape();
roundSquare.graphics.lineStyle(5, 0x000099, 1, true);
roundSquare.graphics.beginFill(0x0099CC);
roundSquare.graphics.drawRoundRect(250, 280, 75, 75, 15, 15);
roundSquare.graphics.endFill();
addChild(roundSquare);


screenshot 10