Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/05/2007, 17:53
Avatar de Bandit
Bandit
Moderador
 
Fecha de Ingreso: julio-2003
Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 20 años, 10 meses
Puntos: 406
Re: como controlar mi zoom

Hola rockermendez:
Si el zoom lo estás haciendo con 2 botones.
Coloca éste código en el primer frame de tu película:
zin.onPress=function(){
mapa.onEnterFrame=function(){
if (this._xscale<200){
this._xscale=this._yscale=this._xscale+10
}else{
delete this.onEnterFrame
}
}
}
zout.onPress=function(){
mapa.onEnterFrame=function(){
if (this._xscale>100){
this._xscale=this._yscale=this._xscale-10
}else{
delete this.onEnterFrame
}
}
}

Espero haberte sido de ayuda.
__________________
Bandit.
Si no sabes estudia y si sabes enseña.
http://www.banditwebdesign.com/