mm no puesto me da problemas con lo demas de codigo
onClipEvent(enterFrame){
incremento = 1.4;
decremento = .7;
function zoom(x,y,ancho,alto) {
this.onEnterFrame = function() {
this._x = x;
this._y = y;
this._width = ancho;
this._height = alto;
delete this.onEnterFrame;
};
};
function alejar(x,y,ancho,alto) {
if(this._width <= "120") {
} else {
this.onEnterFrame = function() {
this._x = x;
this._y = y;
this._width = ancho;
this._height = alto;
delete this.onEnterFrame;
}
};
};
if (Key.isDown(3

){
Alto = incremento*this._height;
Ancho = incremento*this._width;
x = _root._xmouse-((_root._xmouse-this._x) * incremento);
y = _root._ymouse-((_root._ymouse-this._y) * incremento);
zoom(x,y,Ancho,Alto);
}
if (Key.isDown(40)){
Alto = decremento*this._height;
Ancho = decremento*this._width;
x = _root._xmouse-((_root._xmouse-this._x) * decremento);
y = _root._ymouse-((_root._ymouse-this._y) * decremento);
alejar(x,y,Ancho,Alto);
}
}
onClipEvent (mouseDown) {
_root.mapa.startDrag();
}
onClipEvent (mouseUp) {
_root.mapa.stopDrag();
}
no me jala ese codigo, no se por que, no se mueve el mapa