15 Replies Latest reply on Jun 13, 2012 9:10 AM by niemeyerja

    Problem with movieclip contents activating mouse event


      I am working on a map with a number of mouse over ''points'' that fades-in movieclip text. The problem I'm experiencing is that the text itself, which is contained in the parent movieclip, becomes a mouse over area also. I just want the point itself to activate the mouse event, not it's contents. I have searched all over the web and found "solutions" such as mouseChildren = false; and mouseEnabled = false; do not work. I don't know if I am just coding wrong or what. Any help would be appreciated. Here is the code I have:


      clayton.buttonMode = true;

      clayton.mouseChildren = false;

      clayton.clayton_txt.mouseEnabled = false;

      clayton.addEventListener(MouseEvent.ROLL_OVER, over);

      clayton.addEventListener(MouseEvent.ROLL_OUT, out);


      function over(event:MouseEvent):void{





      function out(event:MouseEvent):void{





      "clayton" is the movieclip of the point on the map, "clayton_txt" is the movieclip of the text that fades in once "clayton" is rolled over.