Moving a clip added dynamically

Maybe this will be a simple question to answer.

I’m parsing an XML file and attaching a movie clip to the stage multiple times with data from the XML file. That part works ok.

What I would like is for each clip that was attached to scroll slowly.

How do I add the onclipevent code to each instance of that movie clip?

I tried adding it to the movie clip in the library, but I still get the error about it having to be a movie clip. Does all of this make sense?

I think to simplify ->>> can I add actions to movie clips added dynamically?