I have built a tabbed menu. Each tab is a group, and all tabs are in a single group. On mouseDown, I want to set the tab to the top of the group of tabs. This doesn't seem to work, and position "top" is considered absolute to the stack, instead of relative to the group. Setting specific layer numbers won't work as this stack has hundreds of layers.
(grp tab3 of grp tabs)
Code: Select all
on mouseDown
set the layer of grp me to top
set the colorOverlay["opacity"] of grp "tab2ContentWindow" to 80
set the colorOverlay["opacity"] of grp "tab4ContentWindow" to 80
set the colorOverlay["opacity"] of grp "tab5ContentWindow" to 80
set the colorOverlay["opacity"] of grp "tab3ContentWindow" to 0
set the visible of grp "firewallNetwork" to false
set the visible of grp "connectionNetwork" to false
set the visible of grp "routerNetwork" to true
end mouseDown