dynamically attached overlapping buttons & depth
Hi, hope i can get some help on this i've been trying for ages with many different styles of code and not found the perfect answer yet.
I have a map where people can add cities to, the values for each city is stored in a db. each city is represented by a red dot on the map and on a roll over event it displays a text label of the city name. The cities are all attached dynamically. This is all working fine. Currently I am using a swapdepths(10000000) method on the rollover for each button which is working fine on the first view the page, however upon adding a new city some of the cities are very close to each other (eg New York, Boston, Philly) and on the rollover some citiy labels are displaying above or blow the other city dots near them.
Difficult to explain - much easier to understand visually. url below
http://www.joeshields.net/flashlab/cityviewmax/
Any help would be appreciated.
thanks