1 Reply Latest reply on Nov 30, 2007 12:41 PM by kglad

    addressing a MC on the root...

    yarkehsiow
      hello,

      in my root .swf i have the following code:
      var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
      var logoLoad:MovieClip = mc.createEmptyMovieClip("logoLoad", mc.getNextHighestDepth());
      logoLoad.loadMovie("logospin03.swf");

      then in a separate .swf (loaded in the same way onto the root movie into mc2), I have a button, which when pressed should send "logospin03.swf" to frame 2, but I cant figure out how to do this.
      This is my attempt:
      coll_mc.onRelease = function() {
      _root.mc.gotoAndPlay(2);
      }

      But it doesnt work, nor do any other combinations that I try.
      Any help greatly appreciated!
      thanks