Comunidad de diseño web y desarrollo en internet online

As2 a As3

Citar            
MensajeEscrito el 12 Oct 2009 10:11 pm
Amigos:

Es posible transformar un código que este en AS2 a AS3?, si se pudiera como lo podría hacer. Saben de algo...

Saludos a todos. :?

Por zerojano

29 de clabLevel



 

msie8
Citar            
MensajeEscrito el 13 Oct 2009 03:46 am
Automáticamente no, a mano claro que si.

Por Tmeister

260 de clabLevel

2 tutoriales

 

firefox
Citar            
MensajeEscrito el 13 Oct 2009 12:17 pm
Como pasarían este código que es compatible con AS1-AS2 a AS3 amigo?.

Código ActionScript :

onClipEvent (load) {
   velocidad = (random(60)+60)*0.02;
   _yscale = random(90)+80;
   _xscale = _yscale;
   _alpha = random(10)+5;
   _y = random(600);
   _x = random(800);
   _rotation = random(360)+50;
}
onClipEvent (enterFrame) {
   if (_x<=-60) {
      _velocidad = (random(60)+60)*0.02;
      _yscale = random(90)+80;
      _xscale = _yscale;
      _alpha = random(10)+5;
      _y = random(800)+220;
      _x = 800;
      _rotation = random(360)+50;
   } else {
      _x = _x-velocidad;
      giro = random(200);
      if (giro>=190) {
         _rotation++;
      }
   }
}

Por zerojano

29 de clabLevel



 

msie8
Citar            
MensajeEscrito el 13 Oct 2009 12:19 pm
Me olvidaba comentar que el código esta en un clip de pelicula.

Por zerojano

29 de clabLevel



 

msie8

 

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