-
Creating a "progressive load" for video for CD-ROM
Hi:
I am making a CD-ROM that autostarts. It has 2 links/buttons on the left. When the buttons are clicked, a movie is loaded that contains a video.
My problem is that the movies are .avi files, and about 80MB each.
How do I use a progressive load technique so the movies start playing immediately, and the viewer doesn't have to wait for the entire movie to load?
Any help or articles or tutorials would be greatly appreciated.
Thanks in advance,
SP
-
You can compress those .avi's with an FLV encoder, like Riva FLV Encoder, or Sorenson Squeeze. That'll reduce load times and size.
Here's a 'movie' about using Squeeze:
http://www.macromedia.com/devnet/tip/017.html
Here's a link for some info on progressive download:
http://www.macromedia.com/devnet/fla...ml#progressive
Here's a link for a vid on some more advanced tricks for deploying your progressive vid:
http://www.macromedia.com/devnet/fla...macrochat.html
*** Note: All of these links, and many more are included in the sticky threads in this forum. Look through them for some good tips and links!
-
Hi:
Thanks for the info and the links.
I will look into them.
Thanks again,
SP
-
Flash Video Moderator
Just to note, there is no way to build preloaders for locally served files - only over a network.
The entire file will have to load before playback can begin locally, so you may want to build an animation to play while it's loading for larger files.
-
Wheels...would you be kind enough to point me to a tutorial that tells how to do that?
-
Flash Video Moderator
Any preloader will do, there are plenty of tutes here on FK.
Code:
// when you call the video to load...
video_mc._visible = false;
attachMovie("myLoader", "myLoader_mc", 1);
myLoader_mc.play();
this.onEnterFrame = function(){
// check to see if video is loaded
if(its_loaded){
removeMovieClip(myLoader_mc);
this.onEnterFrame = undefined;
video_mc._visible = true;
video_mc.play();
}
}
That's not real code of course, but something along those lines.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|