(AS3) Looping 3 different videos with NetStream

I'm trying to once an flv is done, start playing another flv. Simple, it would seem... I can't get it to work at all. I was able, using this code to start over another video but to actually once the current video is stopped, tell the netstream to play another flv... it just doesn't do it.

General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.

It still doesn't work... The event code does come up as NetStream.Play.Stop, then the "now what?" trace outputs too. But instead of switching over to the new video (which is actually scoot.flv vs. scooter.flv) the first video stops on the last frame and I get the error "NetStream.Play.StreamNotFound".

This has been the problem!

I did add a ns.close(); right above the ns.play("videos/scoot.flv"); to flush out the previous one and it does say the "now what?" and no NetStream.Play.Stop but I'm still getting the same result AKA it's not loading this ns.play("videos/scoot.flv");

Well, streamnotfound basically means that the file can't be found. Try playing the scoot.flv file first...

I've actually tested the code myself just now and it works here, so you shouldn't have any problems.

Kind regards,
Pieter

General notice: from now on, I would like to ask everyone to put [AS2] or [AS3] (corresponding to the version of actionscript you are using on your project) in front of their post titles when the question is actionscript related! Please help us help you faster. Thank you.