Title?

Hey there sorry for the whacked out title but i never know what to put for those things…

Anyway… I am attaching a movie clip from the library with this code


function movie_start(num){
    for(i=0;i<num;i++){
         var circle = attachMovie("k_circle","k_circle"+i,i)
        with(circle){
            _x = (-50);
            _y = (-50);
        }
    }
}

So is there any way of placing Actionscript onto this clip using actionscript
I want to place this:


onClipEvent (enterFrame) {
    _x += (_root.k_xpos-_x)/_root.k_speed;
    _y += (_root.k_ypos-_y)/_root.k_speed;
}


I have tried a couple of things to no avail…
Thanks.