forked from: forked from: code on 2008-12-25
// forked from siva's forked from: code on 2008-12-25
// forked from siva's code on 2008-12-25
// write as3 code here..
package
{
import flash.display.Sprite;
import caurina.transitions.Tweener;
import caurina.transitions.properties.*;
DisplayShortcuts.init();
FilterShortcuts.init();
ColorShortcuts.init();
public class DSG extends Sprite
{
public function DSG(){
init();
}
private function init(){
for(var i:uint = 0;i<10;i++){
var sp:Sprite = new Sprite();
sp.graphics.beginFill(0x00CCFF);
sp.graphics.drawRect(50,70,100,80);
sp.graphics.endFill();
stage.addChild(sp);
var num:Number = Math.random()*360;
Tweener.addTween(sp,{rotation:num,_scale:0, time:num, transition:"easeOutQuint"});
}
}
}
}