![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 7.
Note: This method is also supported in Flash Player 6 when used with Flash Communication Server. For more information, see your Flash Communication Server documentation.
my_ns
.close()
None.
Nothing.
Method; stops playing all data on the stream, sets the NetStream.time
property to 0, and makes the stream available for another use. This command also deletes the local copy of an FLV file that was downloaded using HTTP.
The following onDisconnect()
function closes a connection and deletes the temporary copy of someFile.flv that was stored on the local disk.
my_nc = new NetConnection(); my_nc.connect(null); my_ns = new NetStream(my_nc); my_ns.play("http://www.someDomain.com/videos/someFile.flv"); function onDisconnect() { my_ns.close(); }
NetStream.pause()
, NetStream.play()
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |