aha!, trata esto:
Código:
if( ok == true ) {
getVideo( this.firstChild );
var conexion:NetConnection = new NetConnection();
conexion.connect( null );
var stream:NetStream = new NetStream(conexion);
videopubli.attachVideo(stream);
// reproducimos el stream
stream.play(urlPubli);
// Comprobamos si ha terminado de reproducirse el video
conexion.onStatus = function(info) {
if(info.code == "NetStream.Play.Stop") {
gotoAndPlay( 3 );
}
}
}
asi te aseguras que cargue el video despues de que haya leido el xml..
me avisas