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: LOADING 154kb/9234 kb

Discussion in 'Graphics & Multimedia' started by Ticcaso, Jul 8, 2006.

  1. #1
    ok here's my Q if i make a flash movie of lets say 9234 kb how do i do tha loading x kb / 9234 thing? there has to be a way ... i think
    SEMrush
     
    Ticcaso, Jul 8, 2006 IP
    SEMrush
  2. xeno

    xeno Peon

    Messages:
    788
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You want to display the amount loaded?

    make a text box and give it a variable name "loaded" in the properties inspector

    create a layer called "actions" and put this code in it

    loaded = getBytesLoaded();
     
    xeno, Jul 9, 2006 IP
  3. sketch

    sketch Well-Known Member

    Messages:
    898
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    148
    #3
    sometimes you need to add "_root." before the variable name (w/o quotes) in the text box.

    Do you really have a Flash file that big? I'd work on shrinking that down, it's way too big unless it's like a 15 minute video clip. If I had to sit thru a 9mb Flash download I'd expect to see something that blows me away.
     
    sketch, Jul 9, 2006 IP
  4. Ticcaso

    Ticcaso Peon

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    can someone do a sample for me yes i do want to show tha amount loaded
    please someone make me a .fla file like this so i can understand it better

    and i sayd for example 9 mb,
    what i really want to do is to make a flash mp3 player and many ppl asked me to do a loading thing
     
    Ticcaso, Jul 10, 2006 IP
  5. slickricky

    slickricky Active Member

    Messages:
    240
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #5
    slickricky, Jul 10, 2006 IP
  6. Ticcaso

    Ticcaso Peon

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    yes but not so complicated
    i jus' want a black screen and in tha middle to say
    Loading

    x kb / total kb
    and maybe a bar
     
    Ticcaso, Jul 10, 2006 IP