hello guys… i have been having trouble adding some code to a little menu i am doing, the problem is that i’m making the menu open when the mouse is at certain position but i can’t make the menu go to its closing state when i want to… here’s the fla in case u wanna take a look…
here’s another way i tried first because i tough would be simplier, but this way its seems imposible… maybe it’s just that i’m over complicathing things but who knows…
anyone??? please i need to solve this as soon as possible!!!
I did somthing exactly like that in a intro movie, but instead of sensing mouse posistions I did everything with on (rollover) commands and it worked great. Then I drew boxes around the whole menu area, grouped them, and converted it to a button to catch the mouse as it was leaving the area with another rollover command to close the menu.
Heres your file back with with what I’m talking about. Its a step in the right direction.
thanks a lot man, that would do just fine… i was looking for a way to do it with action script but this works ok so thanks a lot!!
No problem =)
btw I tried to do it with on roll overs first but the thing with them is that when you have more than one button on the movie clip, flash wont recognize them individually but like the whole parent movie… and with the mouse positioning it works but if u go out of the menu 2 fast it won’t go to closing state it but insted will go to the first frame… so if u have a way around that please let me know!!
Yeah, now that I think about it… My intro movie had one rollover button the would activate a fly out panel w/ three seperate buttons that would activate on presses. I think all you have to do it make your whole button panel (or another alpha 0 button over the panel that would activate a “fly in” and then keep that other border for the fly out" Make your tweens for your seperate buttons on the panel… Should work out fine. Personally I think its easier to build that way then using mouse position references because of the extream jumps that it would make if you move the mouse too fast.