Page 1 of 1

Does anybody knows how to stop movie(.flv)

Posted: Tue Feb 21, 2006 11:07 am
by alanhsieh
Does anybody knows how to stop movie(.flv)

when I load flv to play , I don't know how to stop movie ..

and can flashplayercontrol to control movie(.flv) forward or backward ..?

tks. :cry:

Re: Does anybody knows how to stop movie(.flv)

Posted: Tue Feb 21, 2006 2:30 pm
by Softanics
Thank you for your questions.

alanhsieh wrote:Does anybody knows how to stop movie(.flv)

when I load flv to play , I don't know how to stop movie ..


For instance, a FLV is loading using this code:

Code: Select all

var netConn:NetConnection = new NetConnection();
netConn.connect(null);
var netStream:NetStream = new NetStream(netConn);
my_video.attachVideo(netStream);
netStream.setBufferTime(0);
netStream.play("http://FLV/FlashVideo.flv");
_root.netStream = netStream;


You can stop the playing by calling

Code: Select all

_root.netStream.pause();


alanhsieh wrote:and can flashplayercontrol to control movie(.flv) forward or backward ..?


May be _root.netStream.seek may help.

re:Does anybody knows how to stop movie(.flv)

Posted: Wed Feb 22, 2006 5:39 am
by alanhsieh
sorry . .

can you written code in Delphi ..

please .. :oops:

Posted: Wed Feb 22, 2006 6:23 am
by alanhsieh
sorry . . .I'm ask for local file flv playing control

just like flash(.swf) stopplay,gotoframes . ..