dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Easy preloader question

  1. #1
    Senior Member
    Join Date
    Feb 2003
    Posts
    825

    Easy preloader question

    if i have an external preloader that calls multiple SWFs to be preloaded with AS...does it read the load each one fully before loading the next one?

    i.e. -
    a separate SWF that has a blank MC on the stage:

    on the MC i have the following code:

    onClipEvent(load) {
    loadmovie("movie1.swf",1);
    loadmovie("movie2.swf",2);
    loadmovie("movie3.swf",3);
    loadmovie("movie4.swf",4);
    }

    so in other words, does it fully load movie1 before going to the next line that says to load movie2, and so on...?

    Or does it read the whole script, then preload them all at once?

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Yes it has to, otherwise it's a mess. If you want such preloader go to http://can_info_guide.tripod.com/
    menu, components, moviepreloader. It will load one after the other into movieclips.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  3. #3
    Senior Member
    Join Date
    Feb 2003
    Posts
    825
    I would like all of them to load at once if possible...is that you sent me?

  4. #4
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    The preloader will be in one frame and load all one after the other in cache and then put them in movieclips. As I mentioned above loading all at the same time is a mess even with broadband. This preloader can be programmed so after loading to go to next frame or if you have it in the same frame where to show your movies you can let it disappear after loading is finished.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

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