Help! - Dragging with Animation Question

It’s a little complicated but here goes…

I have a movie clip, when you click it goes to another frame to indicate it’s clicked, and it is draggable,

I use this code:

on (press) {
startDrag(this);
gotoAndStop(“over”);
}
on (release){
stopDrag();
gotoAndStop(“down”);
}

however, i want to be able to change the colour of the dragged movie clip, and keep the animation… so I add different frames to the movie clip and on each of those frames i have another movie clip with the animation,

and so I just add to the main movie clip:

on (press) {
startDrag(this);
}
on (release){
stopDrag();
}

and on the movie clips inside it:

on (press) {
gotoAndStop(“over”);
}
on (release) {
gotoAndStop(“down”);
}

but this doesn’t work, i presume this just means you cant have a ‘on (press)’ code inside another movie clip that already has ‘on (press)’ coding, so can you let me know how i can achieve this,

I’ve attached the file to hopefully make it clear what I’m trying to do.

hopefully this is something quite simple to unpick and make work… thanks for looking and helping me out on this

I personally decided to go from a different angle than using only frame changing. I created a new movieclip that is the ring you want to add and put it right in your circle movie clip. Then I set the visibility to false in the first frame (the ring is in a separate layer) and added visibility-changing code to you stop and start drag code. It’s really easy, actually, and you can add as many different colors as you want.

sounds like a good idea,

but how about if say i wanted the circle to change completely and look like a different shape when clicked and dragged, could i do that in the same way?