OnEnterFrame function happening when I rollover button?

I have two movie clips. movieclip A has an onEnterFrame function in my Scene 1 --> actions layer --> frame 1.

Movieclip B is on my scene 1 but the actions are in a frame in a layer inside Movieclip B. When i scroll over the button, an animation occurs.

for some reason, when i scroll over the button, the animation occurs and the function inside the onEnterFrame occurs also?

anyone know how i can stop that???