Comunidad de diseño web y desarrollo en internet online

Pasar de AS 1.0 a AS 2.0

Citar            
MensajeEscrito el 16 Jun 2009 06:23 pm
Hola, necesito pasar este codigo a As 2.0 me podrian ayudar?? Tengo problemas con lo que tengo mas problema es con las ruta de acceso..

Código ActionScript :

on (press, keyPress "1")
{
   //_parent
    tellTarget("gameboard/bat")
    {
        setProperty("", _x, -80);
        setProperty("", _y, -75);
        gotoAndPlay(2);
        tellTarget("")
        {
            if (getProperty("/gameBoard/imp1", _currentframe) > 4 && ("/gameBoard/imp1", _currentframe) <= 18)
            {
                tellTarget("gameBoard/imp1")
                {
                    gotoAndPlay("hit");
                    tellTarget("")
                    {
                        whackScore = whackScore + 1;
                    } 
                } 
            } 
        } 
    } 
}


Desde ya muchas gracias!!

Saludos!

Por T1000

Claber

121 de clabLevel



Genero:Masculino  

chrome
Citar            
MensajeEscrito el 17 Jun 2009 02:58 am
cual es exactamente el error q te salta???

Por bubudrc

Claber

591 de clabLevel

1 tutorial

 

mayo 2006

firefox

 

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