Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/04/2010, 03:37
lucasabogado
Invitado
 
Mensajes: n/a
Puntos:
Donde esta el error ?

Esta linea me dice que hay un error y no lo encuentro me podeis ayudar ?

Symbolo=sprite 268,capa=layer Se espera ')' o ',' name = substring(5, 2_name,) ;




y este es el contenido:


onClipEvent (load)
{
name = substring(5, 2)_name, ;
this.gotoAndStop(name);
x = 1;
i = 1;
cosX = 0;
sinX = 0;
scale = 1;
y = 2;
x = 6.283185E+000 * (name / _root.mc.totalballs);
}
onClipEvent (enterFrame)
{
if (_root.as_stop_flag != 1)
{
++i;
if (i >= 2)
{
i = 1;
} // end if
if (i == 1)
{
x = x + _root.mc.xspeed;
cosX = Math.cos(x);
sinX = Math.sin(x);
setProperty("", _x, cosX * _root.mc.xRadius + _root.mc.centerstageX);
scale = Math.cos(x + 10) * _root.mc.zRadius + 70;
setProperty("", _xscale, scale * 1);
setProperty("", _yscale, scale * 1);
alpha = 1.700000E+000 * Math.cos(x + 1.650000E+001) * _root.mc.zRadius + 85;
setProperty("", _alpha, alpha);
y = sinX * _root.mc.zRadius - 130;
this.swapDepths((Math.cos(x + 1.650000E+001) + 1) * 100);
} // end if
} // end if
}



muchas gracias