A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Creating a "progressive load" for video for CD-ROM

  1. #1
    Senior Member
    Join Date
    Feb 2001
    Posts
    152

    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

  2. #2
    Junior Member
    Join Date
    Feb 2006
    Posts
    23
    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!

  3. #3
    Senior Member
    Join Date
    Feb 2001
    Posts
    152
    Hi:

    Thanks for the info and the links.

    I will look into them.

    Thanks again,

    SP

  4. #4
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    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.

  5. #5
    Senior Member
    Join Date
    Oct 2001
    Posts
    219
    Wheels...would you be kind enough to point me to a tutorial that tells how to do that?

  6. #6
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    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.

  7. #7
    Senior Member
    Join Date
    Oct 2001
    Posts
    219
    Thank you Wheels.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center