Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Member my_name_is_kurt's Avatar
    Join Date
    Aug 2004
    Location
    Phoenix, Arizona
    Posts
    97
    Member #
    6963
    Hi,

    I am currently developing a web site that uses a lot of video in the Flash platform. I was wondering if anyone knows a way to buffer video in Flash, like how QuickTime buffers movies. I would like for users to visually be able to tell that the video is playing and almost loaded.

    Thanks so much for any assistance.
    Kurt Sprinzl
    Eternal Studios Web Development

    www.eternalstudios.net

  2.  

  3. #2
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    Hi,

    Have you ever made a preloader? You can make something similar to a preloader, but instead of having the movie not play until it is loaded, allow it to play - but you can still have that loading bar, so that they can see how much has loaded already.

    Heather
    choosy developers choose gif!
    website | paintings | blog

  4. #3
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Flash 7 Pro has a great video component built in. Pre-Flash 7, you could make something like Heather is talking about with the MovieClip() class functionality:
    Code:
    FRAME 1:
    this.createEmptyMovieClip('m', 1);
    m.loadMovie('myMovie.mpg');
    m.onLoad = function() {
      gotoAndPlay(4);
    }
    
    FRAME 2:
    var pctLoaded = m.getBytesLoaded() / m.getBytesTotal();
    
    // The following is a reference to a named movieClip in the current sequence.  
    // "loader" would be a clip with the named clips "bar" and "holder" within it.  
    // "border would reference the outline of the loader bar and "bar" the masked bar of how much is loaded
    
    this.loader.bar._x = Math.round(this.loader.holder._width * pctLoaded);
    
    FRAME 3:
    gotoAndPlay(2);
    FRAME 4;
    There's your start! Now get to it


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:22 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com