Skip to main content
Participant
May 9, 2008
Question

Looping .FLV

  • May 9, 2008
  • 1 reply
  • 292 views
I have a short .flv I'm running and I need to loop it. Any ideas on how to do it? Thanks

/this the code to play the videos
var nc3:NetConnection = new NetConnection();
nc3.connect(null);
var ns3:NetStream = new NetStream(nc3);
theVideo3.attachNetStream(ns3);
ns3.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler2);
function asyncErrorHandler2(event:AsyncErrorEvent):void
{
// ignore error
}
ns3.play("VietnamRiver.flv");
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
May 9, 2008
use the onPlayStatus event to restart your stream.