Comunidad de diseño web y desarrollo en internet online

Ayuda, poner un stop a zoom de mapa

Citar            
MensajeEscrito el 03 Jun 2009 09:46 pm
Hola a todos tengo un problema con una pelicula de flash en el cual tengo un mapa y al puedo darle zoom una y otra ves.

Mi consulta es si puedo ponerle un stop antes de que comience a pixelar la imagen.

aca le envio el link del archivo

http://www.arieldj.com.ar/demo4/consulta.rar

Desde ya agradesco su pronta respuesta.

Por arieldj

1 de clabLevel



 

msie8
Citar            
MensajeEscrito el 04 Jun 2009 11:44 am

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox
Citar            
MensajeEscrito el 05 Jun 2009 01:56 pm
No jorgue, si llego a terminar el proyecto tengo pensado colgarlo como agradecimiento.

saludos

Por arieldj

1 de clabLevel



 

opera
Citar            
MensajeEscrito el 08 Jun 2009 10:36 am
escribe el codigo o por lo menos la manera en la que haces zoom.

Saludos!

Por Varkaf

9 de clabLevel



 

firefox
Citar            
MensajeEscrito el 08 Jun 2009 02:11 pm
La accion se encuentra en el fotograma 1 de la pelicula principal.


Código ActionScript :

mapa.onPress = function() {
   if(mano){
      this.startDrag();
   }else{
      this.inix = this.foto._xmouse;
      this.iniy = this.foto._ymouse;
      this.onEnterFrame = function() {
         cuad.clear();
         cuad.lineStyle(.4, 0xffffff,50);
         cuad.dibujaRectangulo(this.foto._xmouse, this.foto._ymouse,
                          this.inix, this.iniy);
      };
   };
};

mapa.onRelease = mapa.onReleaseOutside= function() {
   if(mano){
      this.stopDrag();
   }else{
      this.inix = Math.min(this.inix,this.foto._xmouse);
      this.iniy = Math.min(this.iniy,this.foto._ymouse);
      delete this.onEnterFrame;
      if (cuad._width*scale/100>10 || cuad._height*scale/100>10){
         this.foto.mover(ecuacion, vel, 0, {
                  _x:-this.inix-(cuad._width/2),
                  _y:-this.iniy-(cuad._height/2)         
                  });
         scale=escalar(finalx,finaly,cuad._width,cuad._height);
         this.mover(ecuacion, vel, 0, {
                  _xscale:scale , _yscale:scale,
                  _x:finalx/2, _y:finaly/2
                  },
                  function(){cuad.clear();});
      }else{
         cuad.clear();
         scale *= sententido;
         this.foto.mover(ecuacion, vel, 0, {
                  _x:-this.foto._xmouse, 
                  _y:-this.foto._ymouse
                  });
         this.mover(ecuacion, vel, 0, {
                   //aplicamos scale
                  _xscale:scale , _yscale:scale,
                  _x:this._parent._xmouse, _y:this._parent._ymouse
                  });
      }
   }
};

Por arieldj

1 de clabLevel



 

msie8

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.