Hi,
i’ve made a map, with zoom and drag fonction.
all is ok, but i want the map stay center (on my scene) when i dezoom it.
how make this ?
this is the AS on my mc called “map” :
[color=DarkRed]on (press) {
_root.moving = true;
if (_root.moving == true && _root.map._xscale>=60) {
this.startDrag();
}
}
on (release) {
this.stopDrag();
}[/color]