This content has been marked as final.
Show 1 reply
-
1. Re: Not working: NetStream NetStatusEvent "NetStream.Play.StreamNotFound"
ManOfNumenor Jun 10, 2008 5:16 PM (in response to ManOfNumenor)I discovered the answer.
This is an example of how Adobe documentation is not always quite as helpful as you would expect it to be.
On the fmsguru forum there's a post where it's recommended the following code be used when playing a netstream:
ns.play("myStream", 0, -1);
"The first 0 is to indicate a prerecorded stream. If you don't pass that in then FMS will go look for a live stream." http://fmsguru.com/forum/messages.cfm?threadid=625A2813-2004-C4F4-F5048DCE694B3C6F
Of course in the Adobe documentation in Flex 2 Builder help, you'll notice the parameters (or arguments) are not listed at all. This is I suppose part of Adobe's secret handshake method of providing documentation.
However, now that I have found the answer and while I was looking for a link to the online version of the help file for this issue, I discover that ONLINE Adobe lists the paramters and describes them. Here: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#play()
William Chadwick
Frustrated Programmer
