1 Reply Latest reply on Apr 19, 2008 8:24 AM by kglad

    loadMovieNum and then attachMovie from within a single function

    jhyama
      I've got a newbie question here...

      I'm loading an external movie into the root timeline from the following code:

      oneBtn.onRelease = oneClick;

      function oneClick() {
      loadMovieNum("external.swf",2);
      }

      What i would like to do is execute the following code within the "function oneClick()" when the "external.swf" is finished loading into level 2:
      _level2.emptyMc.attachMovie('movieClipMc', 'movieClip', 2);

      Apologies for the lack of details, but would like to get a sense of what would be the best way to approach this...