I made a map with a rollover animation on the different sections.
My problem is that the map pieces are overlapping each other.
I want the piece that animates, when the mouse rolls over, on top. I used
this.swapDepths(1); but it is not working when i use it on every piece of map.
The pieces of the map are all movieclips with the as code below on the first frame inside the movieclip.
That does not work either. It works for one piece of the map but the others will have the same depth so they are still all on the same level.
I'm not a scripter but i can imagine something like the part that's selected going to swapdepth(1) and the others set to swapdepth(0)?! Don't know if this is possible!? And have no idea how to write the script but it sounds logical to me..... I think i somehow have to set all other pieces to a lower level.