03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The following events notify you when certain NetStream activities occur.<br />

Code property Level property Meaning<br />

NetStream.Buffer.Empty status Data is not being received quickly<br />

enough to fill the buffer. Data flow will<br />

be interrupted until the buffer refills, at<br />

which time a NetStream.Buffer.Full<br />

message will be sent <strong>and</strong> the stream<br />

will begin playing again.<br />

NetStream.Buffer.Full status The buffer is full <strong>and</strong> the stream will<br />

begin playing.<br />

NetStream.Buffer.Flush status Data has finished streaming, <strong>and</strong> the<br />

remaining buffer will be emptied.<br />

NetStream.Play.Start status Playback has started.<br />

NetStream.Play.Stop status Playback has stopped.<br />

NetStream.Play.StreamNotFound status The FLV file passed to the play()<br />

method can't be found.<br />

NetStream.Seek.InvalidTime error For video downloaded with<br />

progressive download, the user has<br />

tried to seek or play past the end of the<br />

video data that has downloaded thus<br />

far, or past the end of the video once<br />

the entire file has downloaded. The<br />

Error.message.details property<br />

contains a time code that indicates the<br />

last valid position to which the user<br />

can seek. See Error.message property.<br />

NetStream.Seek.Notify status The seek operation is complete.<br />

If you consistently see errors regarding the buffer, you should try changing the buffer using<br />

the NetStream.setBufferTime() method.<br />

Availability<br />

ActionScript 1.0; Flash Player 6<br />

Parameters<br />

infoObject:Object - A parameter defined according to the status message or error message.<br />

Example<br />

The following example displays data about the stream in the Output panel:<br />

NetStream 505

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!