0 Replies Latest reply on Nov 15, 2007 1:23 PM by Avix_Turch

    get instance name help

      Okay, I want to be able to click anywhere and get the instance name of any object. The kicker is this actionScript needs to be on the main timeline and not on the movieClip. In other words, if I have one movieClip on the stage named "my_MC". I want to be able to run the movie and when I click on the stage it will trace "_level10", but when I click on the first movieClip, it will trace its instance name "my_MC".

      I know that:
      this.onMouseDown = function() {
      will give me the instance name of the stage or "_level10", but how do I make it identify the movieClip I'm clicking on without putting any script on the movieClip itself?