flash on 2010-9-21
♥0 |
Line 17 |
Modified 2011-01-13 21:04:06 |
MIT License
archived:2017-03-20 16:18:35
ActionScript3 source code
/**
* Copyright hacker_lra4mj5w ( http://wonderfl.net/user/hacker_lra4mj5w )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/6FJ5
*/
package {
import flash.display.Shape;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
for(var i:int = 0; i < 100; i++) {
var shape:Shape = new Shape();
shape.graphics.beginFill(Math.random() * 0xFF00CC, Math.random() * 1);
shape.graphics.drawCircle(0, 0, Math.random() * 10);
shape.graphics.endFill();
shape.x = Math.random() * 500;
shape.y = Math.random() * 15;
addChild(shape);
}
}
}
}