simple buttons in a simple MC
Filed Under zjbr.com |
im sure its something really easy... let's hope i'm right :)
Oh and Marandir i have a confession to make!
i love you :ko:
What i need is a way to "put the buttons on top". or a smarter way to do the same thing :P
now for the:
Or you can use the mouse events "onMouseDown" and "onMouseUp" combined with a hitTest() to "simulate" onPress and onRelease events.
/Mirandir
i didnt quite get it. could you explain, in case it could help? :)
Anyhow it sounds like you have put at least one button event on the movieclip. If so you need to consider a different approach to your drag-n-drop menu. The symbol closest to the root of the moviehierarchy will keep all button events to itself. Even if they listen different events.
An example of a different approach might be using a button in the bottom of the timeline that is used to "fire" the drag-n-drop functionality. Or you can use the mouse events "onMouseDown" and "onMouseUp" combined with a hitTest() to "simulate" onPress and onRelease events.
/Mirandir
It is as i suspected. In your menu you have set onRollOver and onRollOut on the menu movieclip. This will make the menu movieclip "eat" all button events. So the buttons inside will not get anything.
Here I've attached a .fla that uses onMouseMove and hitTest() to open the menu.
35155
#If you have any other info about this subject , Please add it free.# |