dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Preloader Load Bar

  1. #1

    Preloader Load Bar

    Ok I use this method to make my preloaders

    In Frame 1
    if (_root.getBytesLoaded() >= _root.getBytesTotal())
    {
    gotoAndStop(3);
    }

    In Frame 3
    gotoAndPlay(1);


    I just want to know how i can modify this to have a little loading bar that moves with the progress of the loading.

  2. #2
    Senior Member
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    1,749
    In Frame 1
    PHP Code:
    percent Math.round(100*_root.getBytesLoaded()/_root.getBytesTotal());
    // Code to move your load bar to do something with the percentage
    //
    if (_root.getBytesLoaded() == _root.getBytesTotal())
    {
    gotoAndStop(3); 


  3. #3
    I though it had something to do with Dynamic Text?

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

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