//PUT THIS IN THE FIRST FRAME ACTIONS
 
var i = 1
function duplication(){
        duplicateMovieClip(_root.ball,"ball"+i,_root.getNextHighestDepth())
        i++
}
blah = setInterval(duplication, 10);
 
//PUT THIS IN THE BALL'S ACTIONS
 
onClipEvent (load) {
        this._x = random(550);
        this._y = random(400);
        this._alpha = random(100);
        this._xscale = random(100)-50;
        this._yscale = this._xscale;
        var timeon = 0;
}
 
onClipEvent (enterFrame) {
        var yEnd = _root._ymouse;
        var xEnd = _root._xmouse;
        this._x += (xEnd-this._x)/3;
        this._y += (yEnd-this._y)/3;
        timeon++;
        if (timeon == 7) {
                this.removeMovieClip();
        }
}