Creates a simple square using mc.graphics


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. mc.graphics.beginFill(0xFFCC00, .5);
  2. mc.graphics.drawRect(0, 0, 250, 250);
  3. mc.graphics.endFill();

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.