我正在尝试找到一种方法来禁用 Feathers UI (Starling) 中的按钮,就像 Spark 按钮一样。
button:Button = new Button()
button.enabled = false;
this.addChild(button);
我只是在删除监听器时这样做,但我想知道是否有更优雅的方法来做到这一点。
最佳答案
你试过吗isEnabled属性(property)?
关于actionscript-3 - 羽毛按钮启用属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26226174/