6 Replies Latest reply on Sep 6, 2013 2:15 PM by Ron Colmen

    loadingSecondFile - Dosen't work

    Ron Colmen Level 2

      loadMovie() loads SWFs into _root.mc1.mc2, and I use the below method to be able to identify the selected movieclip. It works when I load the first SWF but when the second SWF is been loaded it dosen't work. What may be the cause for this.

       

      I tried unloadMovie() and removeMovieClip() to clear the movieclip before loading the new file, but no success.

       

      function traceName():Void {

           trace(this._name);

      }

       

      for (i=0; i<5; i++) {

          _root.mc1.mc2["color"+i].onRelease = traceName;

      }