Flash CS3 Documentation |
|||
| Programming ActionScript 3.0 > Working with video > Streaming video files | |||
To stream files from Flash Media Server, you can use the NetConnection and NetStream classes to connect to a remote server instance and play a specified stream. To specify a Real-Time Messaging Protocol (RTMP) server, you pass the desired RTMP URL, such as "rtmp://localhost/appName/appInstance", to the NetConnection.connect() method instead of passing null. To play a specific live or recorded stream from the specified Flash Media Server, you pass an identifying name for live data published by NetStream.publish(), or a recorded filename for playback to the NetStream.play() method. For more information, see the Flash Media Server documentation. [Fixed typos 10/29/2007]
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00000258.html