Load MC from library and apply script to MC dynamically

I have several swf movie files that load into levels within my folio, these levels being 2,3 and 4. I have a ball within the root file located currently in the library with an identifier name of **“ball” **that i want to dynamically load to level 5 and have the following script appied to it…

BALL FOLLOW CODE"
onClipEvent (load) {
_root.ball_mc
_x = 0;
_y = 0;
speed = 3;
}
onClipEvent (enterFrame) {
_root.ball_mc
endX = _root._xmouse;
endY = _root._ymouse;
_x += (endX-_x)/speed;
_y += (endY-_y)/speed;
}

So I’ve applied this script to an on clip event:

ATTACH MOVIE CODE:
_root.attachMovie(“ball”, “ball_mc”, 5);

Q: Now how do I go about targeting this newly attached movie to the ball follow code above???

Any help would be great, cheers!!!