Si variacion es una variable que contiene un n�mero lo puedes escribir as�:

if variacion>-1 and variacion<1{
gotoAndPlay (1);
}

Saludos

Jaime


> Amigos, es posible simplificar esto?
> 
> ++++++
> if ((Number(variacion)>Number(-1)) and (Number(variacion)<1)) {
> gotoAndPlay (1);
> }
> ++++++
> 
> 
> Gracias !

Responder a