count=0;
//name of clip to move
_______.onMouseMove=function(){
startDrag(this,true);
count++;
//name of clip to move
this.duplicateMovieClip(["_______"+count],count)
_root["_______"+count]._x=this._x;
_root["_______"+count]._y=this._y;
//_root["_______"+count]._xscale=100-count*10;
//_root["_______"+count]._yscale=100-count*10;
myColor=new Color(_root["_______"+count]);
myColor.setRGB(Math.random()*0xFFFFFF);
if (count>20){
count=0;
}
/*
//if you wanted a random size
randSize=Math.random()*(_root["_______"+count]._width);
_root["_______"+count]._width=randSize;
_root["_______"+count]._height=randSize;
_root["_______"+count]._alpha=_root["_______"+count-1].alpha-10;
*/
updateAfterEvent();
}
_______.onMouseUp=function(){
stopDrag();
for(x=21;x>0;x--){
_root["_______"+x].removeMovieClip();
}
}