A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Loading Bars

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Location
    Austin Tejas
    Posts
    5

    Loading Bars

    So far I've figured out how to use the "If Frame Loaded," but that limits me to only waiting for one frame of the whole movie.

    Is there a way to modify this command to load the entire movie? i.e. "If Framed Loaded, All_Frames .. "

    ?

  2. #2
    climbing shoots and ladders feigner's Avatar
    Join Date
    Jun 2003
    Location
    IOP
    Posts
    263
    i do not know of a way like what you are talking about, but another way is to use the getBytesLoaded()/getBytesTotal way.
    it is the way that i always make my preloaders.
    FEIGNER
    Before you post, do you search?

  3. #3
    Senior Member
    Join Date
    Nov 2003
    Posts
    524
    Hi
    Here is an example of using bytes loaded but you need Flash MX.

  4. #4
    Senior Member
    Join Date
    Nov 2003
    Posts
    524
    Hi again,

    And heres the file sorry!!!!

    Shipstern
    Attached Files Attached Files

  5. #5
    Newbie Infantry infantry's Avatar
    Join Date
    Jan 2003
    Location
    Chi-Town
    Posts
    258
    http://www.flashkit.com/tutorials/Ac...-120/index.php


    Use this script:
    Code:
    If Frame Is Loaded (Scene 1, THE LAST FRAME IN THE SCENE YOU ARE PRELOADING)
     Go to and Play (Scene 1, 1)
    End Frame Loaded

    Use that code and after the last frame in the scene is done loading it will start playing...

    So if your Scene has 45 frames, code should look something like:

    Code:
    If Frame Is Loaded (Scene 1, 45)
     Go to and Play (Scene 1, 1)
    End Frame Loaded
    I'm still learning Flash!

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