2 Replies Latest reply on Mar 23, 2016 12:30 PM by adumi

    Javascript mouse event target returns:  [MovieClip(name=null)]

    adumi Level 1

      I am trying to get the name of the object that the mouse was over
      I have:

      function myFunc(e) {
      alert (e.target);
      this.myObject.addEventListener("mouseover", myFunc.bind(this));

      instead of returning myObject it returns [MovieClip(name=null)]
      I have disabled mouseChildren for myObject