I have a button for my game which has a
MovieClip in it. It consists of an image of a lock and an image of an item, representing the item being locked and unlocked. I make the button become slightly smaller when the mouse is over it to create the effect of a button slightly down.
For some reason, however, this makes the
MovieClip in the button go to the next frame. I have no Actionscript code in the button or any frame except
stop() on the first frame of the
MovieClip, so I really don't understand why this would happen. It only goes to the next frame when I hover my mouse over the button and then quickly goes back to the first frame (since there's no
stop() in the second frame).
After experimenting with
stop() in both frames of the movie clip, it does indeed only happen when my mouse enters the button. Leaving the button doesn't do anything and the button left alone doesn't do anything. It just changes the frame when I hover my cursor over it. There's absolutely no script involved aside from
stop() in the first frame of the movie clip in the button. What could be the cause of this problem?