A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: HELP ME WITH A PRELOADER? please

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    15
    I am trying 2 make a preloader that loads up external swf's as well as the main swf its in.. can some 1 help me?

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    May I ask what's the point in doing this?
    Normal preloaders ignore loadMovie actions, and are used to precisely cut down on preloading time, which won't happen if you also preload a bunch of external movies, before the main movie starts playing.
    If you still insist in doing this, one way of doing it, is to have a main preloader (in the main movie), that interacts with other preloaders in each of the to be loaded movies. Basicly, your main preloader starts loading the first external movie. This external movie's preloader then does it's job but rather than playing the movie when it's downloaded, handles back control to the main movie's preloader, moving it to the next frame, where another movie can be preloaded in the same fashion. Once all the external movies have been preloaded, than the main preloader, directs the main movie to preload and play.
    This implies that you have the .flas to all the to be loaded movies, as you must add and correctly script the preloaders within them.

  3. #3
    Junior Member
    Join Date
    May 2002
    Posts
    15

    HELP

    well what i'm trying to do is "while the first swf loads up & starts 2 play in the background i want the other swf files i have that make the site 2 load up"??

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Well then, simply have a preloader on your main movie, preload the main movie, and as soon as this main movie starts playing, load the other movies in the background with a loadMovie action on the first frame. But depending on size and connection speed, those movies may take some time to be accessible. They should also have a blank keyframe as their starting frame with a stop action on it, so that they are not visible until you so decide, if and only they're then completely downloaded.

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