Hello,
I have embedded clickable mc’s which contain a btn symbol inside them, into the map_mc.(I think this is correct to do.)
I would like to center the map on that hotspot when clicked, and bring map to 100%scale.
on (press) {
map_mc.moveTo(0,0)
map_mc._xscale=100
map_mc._yscale=100
}
The coordinates (0,0) is just an example. Those coordiinates will vary depending on location of hotspot. Is there a code for identifying location of hotspot and centering on it?
http://www.sergemedia.net/ds2/finaldemo/mapdemo.html
The red dot is the one containing code. Green dot is not programmed.