View Full Version : Problem with Z-Order of Buttons
I'm having a problem understanding why I can't get some buttons to display in front according to the z-order. Attached is an animated GIF that shows it working, then I show a different set of objects (input/web object) and after that I can't get the buttons to show again. The buttons on the menu that appear when I mouse over are at the front of my project. I've even tried adding the actions to set the z-order for the buttons to the front and set the input objects to the back but it's not working either. I'm using the 'On Mouse Move' actions to determine whether or not to show the menu.
Anyone have any ideas why this isn't working?
You can not have Button object in front of Web, Combobox, Listbox, Mediaplayer and Flash Objects.
However, in your case, you can apply a mask to yout Web object while the buttons are shown.
Thanks bule.
I haven't used masks before so I'm not sure exactly what you mean. How would that make the buttons show on top of the input object and web object?
You can "mask" a web object so a region of it becomes transparent, in your case, where your buttons are to be shown.
Apply the mask when the buttons should be visible, remove it when they don't.
Oh I see. I just wasn't sure how the mask image was supposed to be done. I found a project on the forums called maskflash that had the code I needed.
Thanks bule.
Well... that was harder than I thought. :wow
I couldn't get the input object to have a mask, so I changed it to a label. Attached is the result. Thanks again!
Nice!
However, You can mask an Input also (I think).
I tried masking an input object and it didn't work. I gave up on this for now since now on other screens I have list boxes/progress bars/input objects that I won't be able to mask. I'm open to other suggestions to get the same effect.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.