Posted By

zeman on 06/11/09


Tagged

button graphics rectangle


Versions (?)

Rectangle


 / Published in: ActionScript 3
 

  1. var g:Sprite = new Sprite();
  2. g.graphics.beginFill(0xfafaf8);
  3. g.graphics.drawRect(x,y,w,h);
  4. g.graphics.endFill();
  5. addChild(g);

Report this snippet  

You need to login to post a comment.