A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Preloader right but not doing it's job!

  1. #1
    if you go first
    Join Date
    Oct 2005
    Location
    Herts, UK
    Posts
    62

    Preloader right but not doing it's job!

    Hey,

    I use FLash 5 and my preloader isn't really doing what it's supposed to do! I'd love someone to help me sort this out!

    I've uploaded it and tested it, but I just get a blank screen until (practically at least) the entire movie's downloaded then it flashes up (near) 100% and plays the next scene.

    The movie is about 1 megabyte - and it seems it's all in the first frame! Is this because of my library? A few things in it are "exported" under "linkage properties" - but the library would always be this size, wouldn't it?

    Here's an image of the problem:
    http://www.pc16.net/chris/city/problemImage1.jpg
    How can I use this to fix it?

    Is this really the problem? What can I do?

    The movie is here:
    http://www.pc16.net/chris/city/cityjjLoader.swf
    and the .fla here:
    http://www.pc16.net/chris/city/cityjjLoader.fla
    My Firefox crashed on this link but IE was fine (but I still don't like MS!)

    The only way I can think to solve this problem is by having my loader in a separate .swf file. But then how could I use:
    anyMovieClip.getBytesLoaded();

    Method: returns the number of bytes loaded (streamed) for the specified Movie Clip object. Because internal movie clips load automatically, the return result for this method and MovieClip.getBytesTotal will be the same if the specified Movie Clip object references an internal movie clip.

    This method is intended for use on loaded movies. You can compare the value of getBytesLoaded with the value of getBytesTotal to determine what percentage of an external movie has loaded.
    Thanks a lot for your help,
    Chris

  2. #2
    Flasher
    Join Date
    Jun 2005
    Posts
    1,365
    Answered on your post in this thread:
    http://flashkit.com/board/showthread.php?t=661940
    Please don't double post in the same forum.
    Thanks,
    Sportzguy933

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