/ Published in: ActionScript 3
Expand |
Embed | Plain Text
var rect:Shape = new Shape(); rect.graphics.lineStyle(5, 0x00ff00, 1); //Last arg is the alpha rect.graphics.beginFill(0xff0000, 1); //Last arg is the alpha rect.graphics.drawRoundRect(0, 0, 100, 100, 25, 25) rect.graphics.endFill(); addChild(rect);
You need to login to post a comment.
