3 Replies Latest reply on Dec 26, 2008 4:40 PM by kglad

    mouseListener help

    combustion007 Level 1
      Hello Everyone,

      I am trying to write a function that would take wherever is mouse click on stage as an argument and return the name of that particular movie that was clicked. This is what I am trying to do:

      I have a movie clip called "menu" and within menu, I have four move clips:


      I would like to write a function so when user clicks on movie clip "menu" it would return not just the "menu" but one of the 4 clips within the "menu. I have written the code, but I think it can be done with a robust way. Please see my code for doing it the old way:

      Appreciate all your help.