PDA

View Full Version : Complex Roll Over buttons with submenu



makeshiftdan
December 10th, 2007, 09:29 PM
Image 1 shows a simple menu.

On roll over I want a sub menu to expand (shown in image 2)

I have the button that triggers the submenu scale in order to cover the submenu because I want the submenu to remain open until I roll out of that button.

For some reason whenever I roll over any of the submenu items the roll out state of the original button is triggered.

Any ideas?

Thanks

Felixz
December 11th, 2007, 04:37 PM
Just expand that main button's hitArea

makeshiftdan
December 12th, 2007, 10:59 PM
Just expand that main button's hitArea

I have but for some reason whenever i rollover any of the other buttons the mainbuttons rollout state is triggered for some reason

Felixz
December 13th, 2007, 06:07 AM
Are minor buttons on major buttons DisplayList? and u use MouseEvent.ROLL_OUT or MouseEvent.MOUSE_OUT?

makeshiftdan
December 13th, 2007, 05:08 PM
No the buttons are separate sprites, unconnected. I am using ROLL_OUT. Thanks for the help!

Felixz
December 14th, 2007, 01:03 PM
And thats the problem. Make major button to extend a bit as a background of minor buttons which are on its DisplayList and use on minor buttons MOUSE_OVER/OUT and on major ROLL_OVER/OUT.

makeshiftdan
December 16th, 2007, 10:39 PM
And thats the problem. Make major button to extend a bit as a background of minor buttons which are on its DisplayList and use on minor buttons MOUSE_OVER/OUT and on major ROLL_OVER/OUT.

what do you mean by " Make major button to extend a bit as a background of minor buttons"

Felixz
December 17th, 2007, 04:15 PM
This