A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [help] photo loading

  1. #1
    Senior Member zervell's Avatar
    Join Date
    May 2004
    Posts
    259

    [help] photo loading

    As all of you know having a loading bar in your sites is a must. so my problem is how can i get the total number of bytes loaded from a gif,tiff,bmp,"....(picture files). I know how to upload them into the site using the loadmovie command ,but how can I get the file's size and how much of it has been loaded?
    CEO OF

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    You can use a normal preloader, but you have to target the movieclip you are loading into instead of the _root.

    Like...

    containerMC.getBytesLoaded()

    This question has been asked a lot.... try and make a search on this board.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    You can only dynamically load non-progressive .jpgs... No other format!

  4. #4
    Senior Member zervell's Avatar
    Join Date
    May 2004
    Posts
    259

    thanks alot

    thank you pellepiano for the help
    CEO OF

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