Answered
How to prevent buttons from being blocked
I have a button with an event handler for a click. On top of
this button is a dynamic text field. The text doesn't allow you to
click through it to the button... How do you control this aspect of
a text field?
I know it's not buttonMode, as I have below, but is there something like this?
label_txt.buttonMode = false;
btn.addEventListener(MouseEvent.CLICK, doClick);
function doClick(e:Event):void{
trace ("click");
}
I know it's not buttonMode, as I have below, but is there something like this?
label_txt.buttonMode = false;
btn.addEventListener(MouseEvent.CLICK, doClick);
function doClick(e:Event):void{
trace ("click");
}