return to tutorial

Your code should look like this:

var btn01:Sprite = new Sprite();
btn01.graphics.beginFill(0x000099);
btn01.graphics.drawRoundRect(20, 20, 45, 45, 15, 15);
btn01.graphics.endFill();
btn01.filters = [new DropShadowFilter(4, 45, 0x999999, 3, 5, 5, 1, 1, false, false, false)];
addChild(btn01);


screenshot 03