Skip to main content
Inspiring
May 1, 2008
Question

layer issue with buttons

  • May 1, 2008
  • 1 reply
  • 213 views
I'm making an interactive map of the U.S. The layer with the outlines of the U.S. states sits on top. It has to sit on top because otherwise the outlines don't show up above the color fills for each state.

I want a popup box to appear when you roll over each U.S. state.

However, when I turn a state, say, New York, into a button, the button layer sits below the outline layer. So when I create the popup box for the button's rollover state, the popup box is *under* the US state outlines.

How can I make the button rollover state exist on the highest layer?
This topic has been closed for replies.

1 reply

Ned Murphy
Legend
May 1, 2008
I don't think there's any way of getting the button to display above the lines without doing a depth swap where the lines might be disappearing. What you could do is keep the color fill layer below the lines and create another layer above the lines where you have the buttons created from the fills, but with the fills alpha set to zero and the rollover box not.