flash on 2010-1-9
♥0 |
Line 15 |
Modified 2010-01-09 03:34:35 |
MIT License
archived:2017-03-20 08:33:45
ActionScript3 source code
/**
* Copyright antiade ( http://wonderfl.net/user/antiade )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/7Wel
*/
package {
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
for(var i:int=0;i<10000;i++){
var sp:Sprite=new Sprite();
addChild(sp);
sp.graphics.beginFill(Math.random()*0xffffff);
sp.graphics.drawRect(-0.5,-0.5,1,1);
sp.x=Math.random()*465;
sp.y=Math.random()*465;
}
}
}
}