12 Replies Latest reply on Feb 25, 2009 9:08 AM by kglad

    Problems loading multiple SWFs

    AMDolce Level 1
      I am having difficulty loading multiple external SWFs. I have the following code execute when my flash program starts:

      this.createEmptyMovieClip("slideshow_mc", getNextHighestDepthLevel());
      var ss_mcl:MovieClipLoader = new MovieClipLoader();
      ss_mcl.loadClip("slideshow.swf", slideshow_mc);

      I click a button on the window which executes the following:

      this.createEmptyMovieClip("calendar_mc", getNextHighestDepthLevel());
      var cal_mcl:MovieClipLoader = new MovieClipLoader();
      cal_mcl.loadClip("calendar.swf", calendar_mc);

      This results in the error message "256 levels of recursion ..." and my flash program goes bonkers.
      Loading either clip by itself works fine. I have not been able to fix this problem by putting stop() in
      various frames and have not gotten anywhere trying to debug.

      Any ideas on how to fix this problem? Thanks.