PDA

View Full Version : putting buttons within movie clips


rrmcguire
09-28-2005, 07:30 PM
I have a map with a set of movie clips assigned to particular states and within those movie clips are buttons according to cities within those states.

When I rollover one of the buttons I would like a text box to come up but its not working.

Can you not put buttons within mc's?

If you rollover Idaho and then try and click on the circle within Idaho, nothing happens, according to my code it should work.


thanks

Dylan Marvin
09-29-2005, 03:29 AM
Sure you can put buttons within movie clips, but MAYBE you'll lose their functionality if you have the movie clip act like a button (someone jump in here if I'm wrong). You have rollover/out functions assigned to your movie clips, that also have buttons within them-- might be like putting buttons on top of buttons-- which isn't always the best course of action.
If I'm correct, a workaround this might be to use hitTests with the mouse's _x and _y instead of rollover functions for your states.