Change your above code based on below lines (below is my code - showing how to repeat playlist, dont use my code directly - modify your code accordingly) application.onAppStart = function(){ ms = Stream.get("playlist"); ms.onStatus = function(info){ trace("Ns status:"+info.code); if(info.code == "NetStream.Play.Stop"){ trace("came here"); ms.play("sample",0,-1,false); ms.play("mp4:sample1_150kbps.f4v",0,-1,false); } } ms.play("sample",0,-1,true); ms.play("mp4:sample1_150kbps.f4v",0,-1,false); }
... View more