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.

Method Description<br />

seek() Seeks the keyframe closest to the specified number of seconds from<br />

the beginning of the stream.<br />

setBufferTime() Specifies how long to buffer messages before starting to display.<br />

NetStream Class properties<br />

Properties Description<br />

bufferLength The number of seconds of data currently in the buffer.<br />

bufferTime The number of seconds assigned to the buffer by setBufferTime().<br />

bytesLoaded The number of bytes of data that have been loaded into the player.<br />

bytesTotal The total size in bytes of the file being loaded into the player.<br />

currentFPS The number of frames per second being displayed.<br />

time The position of the playhead, in seconds.<br />

NetStream Class events<br />

Event Description<br />

onStatus Invoked when a status change or error is posted for the NetStream<br />

object.<br />

onCuePoint Invoked when an embedded cue point is reached during the playing<br />

of an FLV.<br />

OnMetaData Invoked when Flash Player receives descriptive information<br />

embedded in the FLV.<br />

bufferLength (NetStream.bufferLength property)<br />

public bufferLength : Number [read-only]<br />

The number of seconds of data currently in the buffer. You can use this property in<br />

conjunction with NetStream.bufferTime to estimate how close the buffer is to being full—<br />

for example, to display feedback to a user who is waiting for data to be loaded into the buffer.<br />

Availability<br />

ActionScript 1.0; Flash Player 7<br />

NOTE: This property is also supported in Flash Player 6 when used with Flash Media<br />

Server. For more information, see the Flash Media Server documentation.<br />

498 ActionScript classes

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

Saved successfully!

Ooh no, something went wrong!