drawRect in actionscript3
Posted
by NativeCoder
on Stack Overflow
See other posts from Stack Overflow
or by NativeCoder
Published on 2010-06-02T17:41:54Z
Indexed on
2010/06/02
17:44 UTC
Read the original article
Hit count: 179
actionscript-3
var blockGraphics : Graphics = null;
blockGraphics.clear();
blockGraphics.beginFill(255);
blockGraphics.drawRect(10,10,10,10);
I am trying to simply draw a rectangle but nothing appears on the screen. What am i missing?
© Stack Overflow or respective owner