return to tutorial

Your code should look like this:

var square:Shape = new Shape();
square.graphics.lineStyle(4, 0xFF66CC);
square.graphics.beginFill(0x990066);
square.graphics.drawRect(250, 35, 75, 75);
square.graphics.endFill();
addChild(square);

 

screenshot 6