Basic catch game with slider

Hi Everybody
I am trying to create a catch game with a slider running across the bottom.
This is my basic first attempt.
I attach movies from the library and there is nothing on the main stage.
It seemed to be working fine until I added the script to move the slider with the mouse rather than moving it by clicking on the keyboard. Now, it crashes and I get a message saying that a script is causing the movii to run slowly in Flash Player.

Here is the script:

var depth = 0;
allBalls = new Array();
function makeNewClip() {
clearInterval(ranID);
ran = (Math.random()*3000)+1000;
ranID = setInterval(makeNewClip, ran);
newClip = _root.attachMovie(‘circle’, ‘circle’+depth, depth++);
allBalls.push(newClip);
trace(allBalls);
newClip._x = Math.random()*Stage.width;
newClip._y = -50;
newClip.speed = (Math.random()*10)+5;
newClip.onEnterFrame = function() {
this._y += this.cyflymder;
};
}
makeNewClip();

_root.attachMovie(‘slider’, ‘slider_mc’, -1);
slider_mc._y = Stage.height-20;
slider_mc.onMouseMove = function() {
this._x = _xmouse;
//updateAfterEvent();
};
Mouse.hide();

_root.createEmptyMovieClip(‘watchCollision’, -2);
watchCollision.onEnterFrame = function() {
for (i=0; 1<allBalls.length; i++) {
if (allBalls*.hitTest(slider_mc)) {
trace(“hit slider”);
allBalls*.removeMovieClip();
allBalls.splice(i, 1);
}
}
};

I would be grateful for any help/ideas.

Thanks a million