Published in: ActionScript 3
|
|
|
Expand |
Embed | Plain Text
var rect:Shape = new Shape(); rect.graphics.lineStyle(1,0xffff0000); rect.graphics.beginFill(0xff00ff00); rect.graphics.drawRect(0, 0, 100, 100); rect.graphics.endFill(); addChild(rect);
You need to login to post a comment.