我将复选框绑定到控件上的属性.一切都很好,但我需要将复选框绑定到另一个属性,并且值必须与chkbox.checked相反.
BindingUtils.bindProperty(obj, "propertyBool", checkBox, "selected");
Run Code Online (Sandbox Code Playgroud)
我需要这样的东西......
BindingUtils.bindProperty(obj, "propertyBool", checkBox, "!selected");
Run Code Online (Sandbox Code Playgroud)
但我不知道如何在AS3中这样做.