A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: loading movie, long time until preloader starts

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Posts
    17

    loading movie, long time until preloader starts

    Hi, can anyone help? I have the following problem:

    I created a movie about 140K of size. Therefor it is devided into two scenes, the first scene only contains some simple elements for a preloading animation, no pictures or any other large stuff.

    The preloader is long enough two spread the whole 140K movie over all frames. So no frame can get over 200 byte even with 56K-modems. Still, the first frame doesn't go below 19K of size which is pretty anoying as it takes a fair while until the movie (and with it the preloading animation) starts at all. That means the website stays empty for a long while with small bandwith.

    Anyone recognizing this problem or have a solution?

    Thanks a lot!

    Flo

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397

  3. #3
    Junior Member
    Join Date
    Jun 2001
    Posts
    17

    How can the frame-size be influenced?

    Thanx Oldnewbe,

    the method looks good, but can someone explain why Flash makes the first frame that large? This happens even if I leave the first keyframes empty! There ist no big things such as sound attached to the movie and the intro is long enogh to spread the whole file over the frames even staying under the 200 Byte level with a 58K Modem.
    So where could the overhead of 19K for the first frame be produced?

    Thanx, Flo

  4. #4
    Junior Member
    Join Date
    Jun 2001
    Posts
    17
    Just if someone is interested in a possible solution:

    if all frames are copied into a new blank .fla project, the size of the first frame is reduced dramatically (from 18K down to 4K).

    It helps, but can anyone explain this behaviour???

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Are you embedding any fonts?

  6. #6
    caithness massiv
    Join Date
    May 2000
    Location
    denver
    Posts
    1,672
    maybe you could post an example of your situation?

    many times this is caused by making a single movieclip which contains a ton of shape defs, yadda

    then placing that one mc on the main timeline... which would demand that flash download the entire movieClip before it displays the first frame

    <*edit>

    it seems to me that most likely your preloader is causing the problem here... try to do a streaming frameBased preloader on the main timeline rather than using a movieClip / enterFrame / setInterval method ...

    if you want it to stream perfectly everything about that preloader should be on the main timeline... and not via movieclips with extensive subTimelines
    Last edited by agent vivid; 09-03-2003 at 04:01 PM.

  7. #7
    caithness massiv
    Join Date
    May 2000
    Location
    denver
    Posts
    1,672
    if all frames are copied into a new blank .fla project, the size of the first frame is reduced dramatically (from 18K down to 4K).
    are you using pure vectors or are there images/video/sounds as well??

    depending on your compression settings for the various media, this result is pretty natural when just opening the .fla and using the defaults

  8. #8
    Junior Member
    Join Date
    Jun 2001
    Posts
    17
    In fact there are two fonts embedded in the movie. But that's exactly the same in the copied version where it works. Also, no images, sounds or extensive shape defs are used in the preloader (Only 3 small images in the main-scene). Compression settings are exactly the same.

    There is one movie embedded in the main timeline of the preloader, but this is only 3 frames looping and showing a progress bar.

    Can it be a reason that parts of the movie are originally taken from a flash 5 project?

    If you are interested you can look at the movie at:
    www.blanda.de/test

    Flo

  9. #9
    Junior Member
    Join Date
    Jun 2001
    Posts
    17
    To end this interesting discussion, I found the reason:

    There are some clips in the main movie (only small, containing some text) that are marked as "export for use in ActionScript". If this is done, in Flash 5 compatible mode, all those clips are loaded into the first frame. As soon as this option is unchecked, everything is OK. After copying the project, the option was unchecked by default.

    Thanx to all for your help!

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