Ciao ale, ipotizzando che hai usato i miei codici:
codice:
ar mc = this.attachMovie("videoHolder", "holder", 1);
mc.mioVideo._x = 200;
mc.mioVideo._y = 100;
mc.mioVideo._width = 180;
mc.mioVideo._height = 144;
var connessione:NetConnection = new NetConnection();
connessione.connect(null);
var stream:NetStream = new NetStream(connessione);
stream.setBufferTime(10);
mc.mioVideo.attachVideo(stream);
stream.play("/video/profile5.flv");
devi utillizzare:
stream.play();//per il play
stream.pause(); //per la pausa
stream.close(); //per lo stop
// funzione LOOP
stream.play("tuofilamto.flv");
stream.onStatus=function(infoObject){
if(infoObject.code=="NetStream.Play.Stop"){
stream.seek(0);
stream.play();
}
}; //fine loop