1 Reply Latest reply on Sep 2, 2007 10:22 PM by kglad

    Instance names and loadClip

      I am trying to load a swf containing a draggable border movie clip using MovieClipLoader.loadClip(). I have a mc on the stage called "application" with an empty mc inside called "appContainer2". The swf is loaded using the code:

      var myMCL:MovieClipLoader = new MovieClipLoader();
      var myListener:Object = new Object();


      myMCL.loadClip("coachapp.swf", "application.appContainer2");

      The draggable border has an instance name of "dragBar" in the coachapp.swf. The movie clip loads but the code:

      this.application.dragBar.onPress = function():Void{

      is not working. The draggable border is surrounding a form which needs to be functional. All this code appears in the first frame of the top level. Do instance names not carry over when using loadClip, or is there something else I am missing?