0 Replies Latest reply on Feb 17, 2009 12:20 AM by vince.sp

    missing mouse events if using Canvas with background image as mask

    vince.sp
      I have a question about masks. Depending on if I use a canvas or an image as the mask object, the mouse events are not dispatched to the masked object properly. It seems to work if I use an mx:Image, but if I use an mx:Canvas, mouse events are only dispatched for the upper left corner of the masked object.

      Please see my attached code below.

      If I run the application, the button only reacts to mouse-over and mouse-down events in the upper left corner of the window. Why?