The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 7 of 7

Thread: why only load 45% before the content page?

  1. #1

    why only load 45% before the content page?

    Hello, friends. I have a loading bar in the first frame of my flashfile, but when I test it on the server, it shows always loading only 45% and then goes to the content page. I wonder how to make it so that it can load 100% and then goes to the content page?

    I have my code like

    ypbyte = this.getbytestotal();
    ypkb = math.round(ypbyte/1024);
    loadbyte = this.getbytesloaded();
    process = math.round((loadbyte/ypbyte)*100);
    loading._xscale = process;
    if (process<100) {
    gotoAndPlay("loading", 1);
    }
    else {
    gotoAndPlay(2);
    }

    The loading bar is name loading
    and the dynamic textfield has the var name as process

    Does anyone has any idea about that? Thanks very much in advance and wait for your reply?

  2. #2
    Well the code looks ok to me. Maybe its just your computer? do you have the site so i can see if the same thing happens on my computer?

  3. #3
    this question is probably asked every day. Search the forums and an answer you may find.

  4. #4
    lunatic's Avatar
    9,895
    posts
    "I feel like I'm taking crazy pills!"
    What is the length of your load bar? Isn't that part of the process somewhere?
    "i walk in stride with people much taller than me and partly it's the boots but mostly it's my chi and i'm becoming transfixed with nature and my part in it which i believe just signifies i'm finally waking up "


  5. #5
    yes, it is only around 45% of the process. Is it because of the browser or because there is error in my code? Thanks in advance!

  6. #6
    pom's Avatar
    7,299
    posts
    Senior Member
    Nope, no code error, no problem with the browser.
    -->
    Originally posted by senocular
    this question is probably asked every day. Search the forums and an answer you may find.
    Last smoke by Ilyas : yesterday at 11:45 PM.

  7. #7
    ericinho's Avatar
    167
    posts
    doesnt use scenes either
    do you have movies and stuff attached from the library?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012