Posted By

visualadvance on 03/27/09


Tagged

actionscript circle api Drawing 3 as3


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

sultano


Drawing API: Circle


 / Published in: ActionScript 3
 

  1. var myClip:Sprite = new Sprite();
  2. this.addChild (myClip);
  3. myClip.graphics.beginFill (0x000000);
  4. myClip.graphics.drawCircle (0, 0, 10); // x, y, radius
  5. myClip.graphics.endFill ();

Report this snippet  

You need to login to post a comment.