preloader for flvPlayback component???

Can someone tell me how to incorporate a preloader or buffering status into the flvPlayback compnent.

If you go to my site www.judsonmusic.com

Go to lyrics, There is a video pf me writing something and it takes about 5-8 secs to load but there is no preloader. How can I add this if this flv component is loading the video externally???
LVL 3
judsonmusicAsked:
Who is Participating?
 
asaivanCommented:
Ok.  Try something like this.  I'm just giving sort of general guidelines here, so you'll probably have to tweak it, or just ask me and I'll help you figure it out.
//Say your FLVPlayback is named vid and you have a little movieclip on your stage
//which says "Loading..." with an instance name of loading
 
vid.addEventListener( VideoEvent.PLAYING, handlePlaying );
 
function handlePlaying( event:VideoEvent ):void
{
   loading.visible = false;
}

Open in new window

0
 
asaivanCommented:
Well, you could listen for the Playing event to be triggered from the FLVPlayback component.  Until that point, you could have a little banner that says, "Loading, please wait..."

Are you familiar enough with Actionscript to implement this?

Nice site, by the way.
0
 
judsonmusicAuthor Commented:
can you help me???
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
asaivanCommented:
sure, what version of Flash are you using?
0
 
judsonmusicAuthor Commented:
flash cs3
0
 
judsonmusicAuthor Commented:
Where would I out this code?
0
 
asaivanCommented:
Try putting it in the first frame where your FLVPlayback component appears.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.