
15/05/2007, 17:53
|
 | Moderador | | Fecha de Ingreso: julio-2003 Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 21 años, 7 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. |