Ver Mensaje Individual
  #6 (permalink)  
Antiguo 30/08/2006, 14:08
marx-pola
 
Fecha de Ingreso: mayo-2002
Ubicación: Capital Federal
Mensajes: 630
Antigüedad: 21 años, 11 meses
Puntos: 1
De esta forma:

video_tmp="tu.flv"
var conexion:NetConnection = new NetConnection();
conexion.connect(null);
var stream:NetStream = new NetStream(conexion);
mi_video.attachVideo(stream);
stream.play(video_tmp);
//aseguramos 10 seg de reproduccion
stream.setBufferTime(10);
//
barra._xscale = 0;
onEnterFrame = function () {
bu_cargado.text = stream.bufferLength;
bu_trans.text = stream.time;
bu_total.text = Math.round(stream.bytesTotal/1024)/1000+" mb";
};

Creo no haberme olvidado de nada...

Espero funcione. MArx.
__________________
"Todo lo que somos es el resultado de lo que hemos pensado". Budda.