• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1220
  • Last Modified:

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???
0
judsonmusic
Asked:
judsonmusic
  • 4
  • 3
1 Solution
 
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
 
asaivanCommented:
sure, what version of Flash are you using?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
judsonmusicAuthor Commented:
flash cs3
0
 
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
 
judsonmusicAuthor Commented:
Where would I out this code?
0
 
asaivanCommented:
Try putting it in the first frame where your FLVPlayback component appears.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now