1 Reply Latest reply on Nov 23, 2007 5:23 AM by Christopher Barnard

    Buttons within attached movie

    Christopher Barnard
      I'm trying to do very simple, i'm attaching a map using attachMovie, then I have two buttons one to print it and one to close the movie. The code is contained within the timeline of the attached movie not the root timeline.

      attachMovie("mcmap", "map_mc", 200, {_x:100, _y:100});

      close_btn.onRelease = function ()
      {unloadMovie (map_mc)};

      I hope I've set the linkage elements correctly and my movie sits on the main stage and is not exported in the first frame.

      Attaching the movie is fine, I just can't close or print the map - I'm incorrectly targeting somehow but I just can't work out why?

      Can anyone help?