everything is so simple. a simple MC that contains some simple buttons. its a drop-down-menu. but the buttons wont work :S
im sure its something really easy… let’s hope i’m right
everything is so simple. a simple MC that contains some simple buttons. its a drop-down-menu. but the buttons wont work :S
im sure its something really easy… let’s hope i’m right
I get unexpected fileformat when trying to open your fla-file.
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
i had it saved for the version 8 of flash. this one is for 2004 MX so you can open it i guess. If you do so, you will see that “using a button in the bottom of the timeline that is used to “fire” the drag-n-drop functionality” donesn’t suit me. cause i lose the interactivity.
now for the:
i didnt quite get it. could you explain, in case it could help?
what i believe is happening is that flash sees the “whole menu” on top of everything else. so when the mouse gets over the buttons they wont light up cause according to flash the mouse is not over the buttons but over the “invisible layer” of the whole menu.
What i need is a way to “put the buttons on top”. or a smarter way to do the same thing
I do have Flash 8 too. anyhow.
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.
i never used those 2 functions before. i will look in the reference to see what they do exactly and what’s their difference to “rollOver - rollOut” functions. They look quite valuable!
Oh and Marandir i have a confession to make!
i love you :ko:
lol
:: Copyright KIRUPA 2024 //--