Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preloader to video file...

Status
Not open for further replies.

jonezy23

ISP
Aug 28, 2007
1
GB
Hi, am having trouble with my preloader;
basically, i've made a loading bar for the video (.swf) intro to a website, as it was not running smoothly on start up of the site.
however, i can't link the preloader to the video file correctly. It seems that the loading bar will only register and work with the video when it is embedded in the .fla file, which tends to lead to sync problems and the video is jerky.
is there not a way to get the preloader to work with the .swf and .flv files instead of having to embed the video?
thanks
 
FLV files are usually set to progressive download or stream, therefore they are buffered instead of preloaded. If you want to preload your FLV fully before start playing it, you should be able to monitor the loading progress using LoadVars.getBytesLoaded, NetStream.bytesLoaded, FLVPlayback.bytesLoaded etc.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top