A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: AS3 CS3- Preloading .flv, How can I get it to fully load the video before playing?

  1. #1
    Join Date
    Apr 2006

    Post AS3 CS3- Preloading .flv, How can I get it to fully load the video before playing?


    First off I'm using CS3, with AS3. I'm a complete novice with Code so please spell it out to me as simply as you possibly can. (I've spent 3 days searching for solutions that I can't understand)

    I'm trying to preload a movie so that it doesn't stutter when it plays. So i thought preload the whole flv and then let it automatically play. I followed Adobe's tutorial http://www.adobe.com/devnet/flash/ar...amming_03.html on 'Controlling web video with ActionScript 3 FLVPlayback programming' and added a progress bar all using components. But I just can't get it to work, the progress bar disappears when it loads and the movie starts playing before its preloaded.

    Here's the online version;

    and I've put the .Fla here:

    Thanks for any help,

    A struggling, tired designer...

  2. #2
    Join Date
    Apr 2006
    Ok so i've given up with AS3, converted my document back to AS2 and with the help of this blog I've solved the problem, very useful for preloading flv's and various other things too.

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Hi Dean-

    I apolgize no one answered your thread. I share your issues and frustration.

    I have a lot of troubles with AS3 as well because I'm a frontend designer who's been using Flash since 1998. I'm pretty decent in As2, but in AS3 I'm a complete dufus.

    And I've immersed myself within the AS3 environment for the last 6 months- figuring lightning would strike sooner or later. Well, the only place I can figure lightning has struck was far out to sea... all the while I'm far inland.

  4. #4
    Senior Member
    Join Date
    Jul 2006
    San Jose, CA
    I know you've already solved it, but I thought I'd share anyway.

    In the NetStream class there is a bufferTime and bufferLength attribute. You can check to see if the two are equal and do ____ accordingly.
    I (Love | Hate) Flash.
    Save a version back so others may help you!

Tags for this Thread

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