Hi i'm making a kiosk application at the moment and I want to disable 
all mouse actions on a button such as mouseover, rollover, rollout, 
etc

I've extended Button and wrote the following code on the constructor

this.addEventListener(MouseEvent.MOUSE_OVER, ignoreMouseEvent, true);

private function ignoreMouseEvent(event:MouseEvent):void
{
    event.stopPropagation();
}

I've tried this, but it doesn't seem to be working. 
Any suggestions to how i can approach this?

Thanks

Reply via email to