user559142
user559142

Reputation: 12527

Display a "buffering" message - Netstream as3

how would I display a buffering animation whilst a netsream object was downloading video data? using Actionscript 3.0 in Flash.

Upvotes: 1

Views: 1742

Answers (1)

weltraumpirat
weltraumpirat

Reputation: 22604

Add an event listener for NetStatusEvent.NET_STATUS to the NetStream object, then use event.info to get the actual status, and react to either "NetStream.Buffer.Empty" or "NetStream.Buffer.Full".

There is a "how to use" example on the documentation page I linked to, which you can use to get started.

Upvotes: 2

Related Questions