1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Flash HELP

Discussion in 'Graphics & Multimedia' started by Ticcaso, Apr 25, 2006.

  1. #1
    does anyone know how to do a REAL "Loading" screen that actually works?
    SEMrush
     
    Ticcaso, Apr 25, 2006 IP
    SEMrush
  2. toby

    toby Notable Member

    Messages:
    6,923
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    285
    #2
    huh ?? what kind of question is this? What do you excactly me?
     
    toby, Apr 25, 2006 IP
  3. Ticcaso

    Ticcaso Peon

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    like on flash movies when it loads it shows xx/xxxkb loaded
     
    Ticcaso, Apr 26, 2006 IP
  4. MaxM

    MaxM Peon

    Messages:
    183
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
  5. Ticcaso

    Ticcaso Peon

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ticcaso, Apr 29, 2006 IP
  6. Ticcaso

    Ticcaso Peon

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    ok i finally figured out how that works and i did it
    one problem its not what i want
    that script displays how many seconds i still got (not bad but if it worked at least) i get random values its like 49 48 47 91 81 23 12 81 3 2 done

    does anyone know the script for plain x/xx kb loaded or
    x kb remaining ???
     
    Ticcaso, Jul 9, 2007 IP
  7. The_Chemist

    The_Chemist Peon

    Messages:
    96
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #7
    First create a movie clip and name it "progress_bar" (without the quotations) put the registration point to the left.

    on the first frame put this code:
    totalBytesLoaded = _root.getBytesTotal();
    bytesLoaded = _root.getBytesLoaded();
    progress = int((bytesLoaded/totalBytesLoaded)*100);
    progress_bar._xscale = progress;
    play();


    then on the second frame:
    if (progress == 100) {
    play();
    } else {
    gotoAndPlay(1);
    }

    that should do the trick.
     
    The_Chemist, Jul 10, 2007 IP
  8. Ticcaso

    Ticcaso Peon

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    k thx man xD
     
    Ticcaso, Jul 14, 2007 IP