PDA

View Full Version : Buffer animation


jimmyo
03-05-2007, 12:57 PM
Hi All

I'm using the FLVPlayback component to load a variety of videos. I have added a 2 second bufferTime using the component inspector but I need to play a "buffering" animation whenever the video is buffering. Does anyone know the code to do this. Also, I obviously need to test that it works and the simulate download doesn't seem to do this. Any ideas.

Thanks in advance.

Navarone
03-05-2007, 02:07 PM
There are a couple of examples in the Flash help files. If you look under setBufferTime, you'll find two examples using setBufferTime and BufferLength. The example are using the setInterval property to display text during the buffer time, I would think you could show an animation in the same way.:)

jimmyo
03-05-2007, 05:58 PM
Thanks Navarone. Works perfectly

Navarone
03-05-2007, 06:32 PM
Great. Do you have it set up on a server anywhere? I would like to see what you did?