static class wrapper for various drawing and shape utilities
static public function drawRect(target:MovieClip, rName:String, w:Number, h:Number, color:Number, alpha:Number, lineWeight:Number, lineColor:Number):Void
draw a rectangle (various init options)
target | (MovieClip) target scope to create MovieClip within |
rName | (String) name of rectangle mc to be created |
w | (Number) rectangle width |
h | (Number) rectangle height |
color | (Number) rectangle hexadecimal color |
alpha | (Number) rectangle alpha |
lineWeight | (Number) rectangle line width |
lineColor | (Number) rectangle line hexadecimal color |
Void
Usage: DrawUtils.drawRect (_root, "box", 320, 240, 0xff00ff, 75, 1, 0xffeeff);