Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.


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 {

    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
    "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
    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
    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


Copyright 1999 - 2012