PDA

View Full Version : flash video FLV Play continuesly



gllanci
September 19th, 2006, 01:46 PM
hi all


Im trying to make a flv file that loop all the time

Im using this as to play


var nc:NetConnection = new NetConnection();
nc.connect(null);

var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);
ns.play("video.flv");


Thnx a lot

Ordinathorreur
September 19th, 2006, 01:53 PM
That code is only used when streaming .flv files using an application such as Flash Media Server or Red5 which I suspect you won't be using.

I would suggest looking into the FLVPlayer component and the event handlers that come with it, should be pretty easy if you follow the documentation.

gllanci
September 19th, 2006, 03:29 PM
yes but Im using this only localy from my PC

the reason is how to play it contiunesly

just repeat every time..


Thnx