Если это флажок Halo, я бы создал подкласс и переопределил createChildren()
, например:
override protected function createChildren():void {
super.createChildren();
// in Button, this is false by default, however we want to restrict
// clicking to the button itself, not the label, so allow the children
// to recieve mouse events, to prevent the button from dispatching them.
this.mouseChildren = true;
textField.mouseEnabled = false;
}
Это похоже на довольно грязный хак, но это может сработать (я не проверял).
Если это флажок Spark, то вы можете просто создать отдельный скин. Гораздо чище!