1 Reply Latest reply on Sep 11, 2006 10:32 AM by Rothrock

    Iteratively loading multple movie clips

    jake1979
      What is the most effective way to iteratively load movie clips? I have the names of this clips I want to load in an array which I am cycling through with a "for" loop, but what's the most effective way to be sure one is loaded before I move on to the next? Is there a way to pause the loop until I get an onLoadComplete message?
        • 1. Re: Iteratively loading multple movie clips
          Rothrock Level 5
          If one must be loaded before the others then you need to wait until one is loaded before you start the next. Tautological, but true!

          Instead of using a for loop, just use a counter and when you get an onLoadComplete event start the next one loading and increment the counter. Also the onLoadInit event is probably a better choice for many reasons.