1 Reply Latest reply on Aug 3, 2006 5:46 AM by Darshan Rane

    onPress attachMovie help

    jarrodmoreels
      hey im trying to load a movie from the library onPress from a button, problem is when i include the x and y in the movieclip, it turn the mc into a button aswell. can you have a look at this for me and tell me what im doing wrong.

      butt = button (obviously)
      BOXlink = linkage

      butt.onPress = function():Void {
      this.attachMovie("BOXlink", "box", Box1, 2);
      this.box._x = -200;
      this.box._x = -200;
      }

      any help would be great,

      thanks.

      jarrod