Return to Snippet

Revision: 14932
at June 17, 2009 15:29 by flashinit


Initial Code
var box:Shape = new Shape();
var random_color:Number = Math.random() * 0xffffff;
box.graphics.beginFill(random_color, 1);
box.graphics.drawRect(0, 0, 100, 100);
box.graphics.endFill();
this.addChild(box);

Initial URL


Initial Description


Initial Title
Random color picker

Initial Tags


Initial Language
ActionScript 3