Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/01/2009, 15:56
Avatar de Lynxcraft
Lynxcraft
 
Fecha de Ingreso: noviembre-2007
Ubicación: yecla murcia
Mensajes: 1.346
Antigüedad: 16 años, 4 meses
Puntos: 51
Respuesta: [AS3] Error 1006: play no es una funcion

Código PHP:
var inicio:Array = categorias;
//var randCat:Array = [];
function mostrar(event:TimerEvent) {
        var 
mc inicio[(Math.floor(Math.random()*inicio.length))];
        
mc.play();
}
var 
tiempo:Number=20;//calculado por milisegundos dependiendo del los frames por segundo de la peli
var miti:Timer=new Timer(tiempo,0);// el 1 representa las  veces que se re perita la cuenta si esta en 0 se hara un bucle 
miti.addEventListener(TimerEvent.TIMER,mostrar );
miti.start(); 
__________________
Sobran las ideas cuando faltan ganas de trabajar en ellas
Lynxcraft