• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Managing Streams > The NetStream and Stream Information Objects

5.8. The NetStream and Stream Information Objects

The onStatus( ) method of a client-side NetStream or server-side Stream object is called and passed information objects as significant stream events occur. We've already made use of many of them throughout this chapter. The properties within the information object are more formally described in Table 5-2.

Table 5-2. Information object property names
Property name Description
clientid

A unique server-side ID for the client
code

A dot-separated string code for the event such as "NetStream.Buffer.Empty"
description

A longer description of the event than provided by the code property
details

The name of the stream
level

The type of message—either "status" or "error"



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint