3 Replies Latest reply on Jun 15, 2009 12:01 PM by kglad

    Closing a MC (loaded from the library) using a button contained within that MC




      I am trying to close a movie clip that I loaded from the library to the main stage using the flowing code....


      navhelp_btn.onRelease = function() {
          attachMovie("navhelp", "holder_mc", this.getNextHighestDepth(), {_x:195, _y:135});


      The navhelp_btn is located on the main stage and the navhelp movie is in the library and gets loaded to an emty mc on the main stage holder_mc.

      I want to close the navhelp movie using a close button that I created and is housed in the navhelp movie.


      Is this doable?

      I hope it makes sense.