2 Replies Latest reply on Aug 24, 2006 6:34 AM by respondplease

    load priority

    nickyb
      I've got a flash application which is loading in multiple swfs at various intervals. Is there any priority given to the loading of the swf files.
      ie. if i load in myfile1.swf and as that is preloading i start to preload myfile2.swf is priority given to either file or do both get the same bandwidth allocation?
        • 1. Re: load priority
          Level 7


          nickyb wrote:
          > I've got a flash application which is loading in multiple swfs at various
          > intervals. Is there any priority given to the loading of the swf files.
          > ie. if i load in myfile1.swf and as that is preloading i start to preload
          > myfile2.swf is priority given to either file or do both get the same bandwidth
          > allocation?

          the priority is as you define it. If you load few at once than
          they will load like any other content (jpg or gif) in regular html
          page. Some load faster some slower compare to the other.
          To define the order, you need to make an array for loading files than
          load one after another but only if the first file get fully loaded.
          Otherwise you deal with random and unpredictable order.


          --
          Best Regards

          Urami


          --


          <urami>
          If you want to mail me - DO NOT LAUGH AT MY ADDRESS
          </urami>
          • 2. Re: load priority
            respondplease
            Hi urami,

            When I read your post about writing an array, I thought I should do the same but for a button. When I click on one of my buttons it doesn't always work, I'm assuming it's because I've added so many functions. Would it be too much to ask for a sample array?

            Thanks