1 person found this helpful
For the code you are showing I don't readily see how the text_btn code would be impacted by the position code because the position code doesn't impose mouse event listeners that might block test_btn from the mouse. You said the map areas change color and should be clickable... did you mean they should change color or they do? If they do change color, what code causes that to occur? Are the color changing parts different than the button parts?
First, to answer your question, they do change color and it's done with the up, over and down states inside the button. So when you rollover the button it changes color and the mouse changes to the hand to show it's clickable but when it's clicked nothing happens.
I did figure out a way to do it, but I'm not sure why it works. As I said before, I had the buttons_mc and the globe_mc on the main timeline. I put the buttons_mc inside two other MovieClips and then put the actual buttons on the stage - like this:
and so on....
I tried putting buttons_mc inside only 1 MovieClip (buttonsMain_mc) but it still didn't work. I had to add buttonsInside_mc for it to work. Why is that?
Thanks for the help!
You're welcome. I still don't quite get the picture, so I can't explain why it works... when it comes to mixing mouse-able things, you gotta be cautious that one doesn't cancel/block another... Be happy that you solved it because there's every chance that what you did is what needed to be done--think thru the differences and the reasoning may come.