decreasing Flash loading time?

Discussion in 'Web Design and Development' started by mikepro44, Mar 4, 2009.

  1. mikepro44 macrumors member

    Joined:
    May 18, 2008
    #1
    Whats the best way to decrease the loading time in a flash? I'm loading in external .swfs but it takes sometime for them to show up, I have preloaders in the .swf and the preloader doesnt come up until its like 60% done...
     
  2. lucidmedia macrumors 6502a

    Joined:
    Oct 13, 2008
    Location:
    Wellington, New Zealand
    #2
    It all depends on the structure of your application. In general, I keep my SWF files very small, and dynamically load ALL assets - fonts, XML, images, etc - as they are needed. This means I may have more "small" preloaders as users request content, but my movies usually have little wait-time to get started.

    Think of flash player like a web browser, a place to organize and layout loaded content. Try not to embed anything that can be loaded later!

    Also, I often will load elements in the background before they are needed while the user is occupied with content.

    I usually use the wonderful Bulkloader class for asset loading.

    As you can guess from my advice above, I also don't use the timeline. Writing your SWF in pure AS3 and animating your sprites via a motion library like tweenlite greatly reduces file size.
     

Share This Page