HOla a todos bueno tengo mi pelicula que tienes 50 frames y lo que quiero es k se haga un BUCLE cada cierto tiempo.
Puse el siguiente codigo:
En el primer Frame

Código :

var duration:Number=0;
var intervalRotacion:Number=0;

EN EL FRAME 15

Código :

duration=0;
intervalRotacion=0;

EN EL FRAME 50

Código :

duration = random(8000)+ 10000;
function rotacion(){
   gotoAndPlay(2);
   //clearInterval(intervalRotation);
}
intervalRotacion = setInterval(this, "rotacion", duration);
stop();

Y EL PROBLEMA QUE PRESENTA ESK LUEGO DE UNAS 3 Ó 4 VECES QUE PASA EL BUCLE EN CONTADOR NO HACE CASO, SI USTEDES TENDRAN UNA FORMA MAS EFICAZ Y SOBRE TODO QUE FUNCIONA MUCHAS GRACIAS