Comunidad de diseño web y desarrollo en internet online

Tzunami as 1 al as2

Citar            
MensajeEscrito el 12 Jun 2009 11:42 pm
Novatando en estos andares pido a algún amigo que tenga un tiempo me oriente para "traducir" un código original en as1 para as2. Se trata de un efecto de texto tzunami que jala muy bien en flash player 4, pero en el 8 no aparece ni una olita. El corazón de la película tiene un código de 70 líneas (si lo piden lo pego aquí, o pueden verlo en el source anexado) pero básicamente al "guardar como... - as2 " me aparecen errores en cosas como:

set("textY" add i, getProperty("text" add i, _y));

boundleft = getProperty("../boundbox" add colnum, _x);

boundbottom = boundtop+getProperty("../boundbox" add colnum, _height);

myDif = (eval("textY" add i))-(mouseposY-boundtop);

setProperty("text" add i, _xscale, scaleAmount);

filledSpace = filledspace+getProperty("text" add m, _height);

totalheight = getProperty("text" add endnum, _y)-getProperty("text" add startnum, _y);

setProperty("text" add m, _y, (getProperty("text" add (m-1), _y)+getProperty("text" add (m-1), _height))+avgdistance);

set("watchheight" add m, getProperty("text" add m, _height));

if (int(getProperty("text" add i, _yscale))>=100) {

...simplemente parece que no le gusta esta sintáxis al Flash Player 8, y bueno, a ver si con un empujón...

el source:

http://rapidshare.com/files/243900394/Efecto_texto_Tsunami.zip.html
(6 kb)

Saludos

Por raedxxi

2 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 13 Jun 2009 08:34 am
gracias y una disculpa x no haber buscado a fondo...hallé aquí en cristal la solución
http://foros.cristalab.com/ayuda-paso-de-as1-a-as2-t59404/

Por raedxxi

2 de clabLevel



Genero:Masculino  

firefox

 

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