2 Replies Latest reply on Mar 3, 2007 7:33 PM by kglad

    attachMovie

    Dz(00)
      Hi,
      I'm using this code to attach a movie:

      btn_popup.onPress = function() {
      attachMovie("popup", "popup", 1);
      };


      and I've got a close button inside "popup" which I'm trying to target like this:

      popup.btn_close.onPress = function() {
      removeMovieClip("popup");
      trace("popup");
      };

      but it doesn't seem to work - any help would be much appriciated, thanks in advance..