A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Preloading

  1. #1
    Member
    Join Date
    Feb 2002
    Posts
    30
    I have a intro animation that builds my main menu and content. I have animations that build new content when you click on a button in my menu. I find the preload time is to long, because it's downloading all the frames. How do I break down the preload time to do only per section on user request. Kinda like 2advanced.com or happypencil.com. If the answer is multi swf files I'm not sure how to do that...
    please help.


    Thanks,

    Lee


  2. #2
    Senior Member
    Join Date
    Dec 2000
    Posts
    242
    You'll find breaking your site up into multiple swf's makes updates and additions much easier in the long run as well as giving you greater flexibility. It's not that difficult to do and really expands on what you can achieve using scenes.

    The movie that is embedded within your html page is on _level0. Any other swf's you load on top using:

    loadMovie("myMovie.swf",X);

    will be loaded onto _levelX. Just bear in mind that any movies you load will inherit the dimensions, frame rate and bg colour of the movie on _level0. Also, the top left corner of any loaded movie will always line up with the top left corner of _level0.

    You can then build a preloader into each of your movies individually.

    Hope this helps

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