Si ese mismo script uso al empezar (cuando me referia que a que ponia tu codigo debajo de otro.. a este me referia:
Código :
var conexion:NetConnection = new NetConnection();
conexion.connect(null);
var stream:NetStream = new NetStream(conexion);
my_vid.attachVideo(stream);
stream.play("video.flv");
//aseguramos 10 seg de reproduccion
stream.setBufferTime(10); //etc..

Oks pues volviendo al ejersicio, lo hice tal cual pero da un problema.
NO MUESTRA EL VIDEO PERO SI SE ESCUCHA EL AUDIO

Al reproducirlo se queda en pantalla blanca mientras se escucha el audio. luego lo demas, funciona perfectamente.
Como soluciono esto?
---
Mostrare como lo tengo actualmente asi nos orientamos mejor.
Escena1
Código :
var conexion:NetConnection = new NetConnection();
conexion.connect(null);
var stream:NetStream = new NetStream(conexion);
my_vid.attachVideo(stream);
stream.play("video.flv");
//aseguramos 10 seg de reproduccion
stream.setBufferTime(10);
stream.onStatus = function(infoObject:Object) {
if (infoObject.code == "NetStream.Play.Stop") {
nextFrame(); //aquí viene cuando acaba el streaming
}
if (infoObject.code == "NetStream.Play.StreamNotFound") {
trace("encontro error");
}
};
stop();
Escena2
Código :
var conexion:NetConnection = new NetConnection();
conexion.connect(null);
var stream:NetStream = new NetStream(conexion);
my_vid.attachVideo(stream);
stream.play("video2.flv");
//aseguramos 10 seg de reproduccion
stream.setBufferTime(10);
stream.onStatus = function(infoObject:Object) {
if (infoObject.code == "NetStream.Play.Stop") {
otro = setInterval(link, 60000); // un minuto
function link(){
clearInterval(otro);
getURL("http://scx7.blogspot.com", "_blank");
}
}
if (infoObject.code == "NetStream.Play.StreamNotFound") {
trace("encontro error");
}
};
stop();
en este mismo codigo agregue la funcion de (esperar un minuto y ejecutar como me lo habias pasado,pero puede que lo haya incorporado mal

Nta: este codigo de la escena2 antes no lo tenia asi, antes era..
Código :
video_tmp="video2.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";
};
otro = setInterval(link, 60000); // un minuto
function link(){
clearInterval(otro);
getURL("http://scx7.blogspot.com", "_blank");
}
Resumiendo: el script nuevo qu eme has pasado incorporado la funciona NextFrame, no muestra el video. solo da audio.