Onmouseover confusion

When i make an “onmouseover” why does the the object which has to appear when mouse goes over the original button(on stage), becomes a button too ?
i put keyframes in down and hit states but the the object which has to appear on “onmouseover” appears but disappears on mouse down n hit state .
You’ll understand my question more after lookin at the .fla.

Thankyou.

Because when you make keyframes one after another, it will copy from the last keyframe. It took me a while to find out what you meant, but I think I understand. Go to your hit state (only) and erase the circle. That should do it for you!!

check your hit area and erase the top circle thingy from there its detecting that area as part of the button thats your problem :wink:

i didnt get your question clearly.

any object that you put in button, will become button too.
there are no hit state. the hit is to define the area in which your button will work. it becomes important when your button is only a word ;not a rectangle or circle.

Thankyou for helpin, one prob. is solved. Now what if i want the object which appears on “onmouseover” to stay even when the mouse is down ? second question , if i want to change the shape of a btn. on “onmouseover” and want it to remain changed even when mouse is down, how can i do it ?
Thankyou.

In answer to both of your questions; here’s the deal.
The hit frame is just to let flash know where you want your button to be active. It has no graphical purpose.

The other three frames, up, over, and down are what you are going to see for those three states. Both of your questions are dealing with what you will see on certain events/locations of the mouse. With that in mind, for each frame that you are in, what you see on the stage is what you’re going to get. In answer to your questions, you want the shape of a button on ‘over’ to stay the same on ‘down’; you need to make the images in the ‘over’ frame the same as the ‘down’ frame.

Now if you want a button that changes on rollOver and then stays like that when you rollOut, that takes some actionScripting.

Thankyou.

np