I am trying to get the file to loop a still image that would act as a buffer until the user clicks play, but I don't see how to do it with streaming video, I have tried putting in a preloader but that doesn't work and I have tried adding a stop into the code and that doesn't work. Here is the code I am using. I essentially want to turn off "autoplay"...
var nc:NetConnection = new NetConnection();
Also, your code for the play button is incorrect. The ns.play function is used to attach a video to the netstream object, not for play/pause. To code correctly for separate play and pause buttons it should be like this:
When you use the ns.pause(); function without the true or false parameters it acts like a toggle. So in your code the pause button would both pause and play the video, depending on if it were playing or paused when it was clicked.
I'm filling a need. Without me there would be no bad examples.