Return to Snippet

Revision: 34367
at October 21, 2010 17:03 by f6design


Initial Code
var square:Sprite = new Sprite();
addChild(square);
square.graphics.lineStyle(3,0x00ff00);
square.graphics.beginFill(0x0000FF);
square.graphics.drawRect(0,0,100,100);
square.graphics.endFill();

Initial URL


Initial Description


Initial Title
Draw a rectangle using AS3

Initial Tags
actionscript

Initial Language
ActionScript 3