My friends and family are under attack in Ukraine.
Donate to protect them directly or help international organizations.
Donate to protect them directly or help international organizations.
[Bindable] public override
March 7th, 2008
I stumbled upon a compiler error when overriding a setter function with the Bindable metadata tag: "overriding a function that is not marked for override"
The answer is short and simple: use
[Bindable] public overrideinstead of
[Bindable] override publicIt may sound silly but the override actually has to come second in order for the compiler to interpret it properly in this particular situation.
Previous: Instantiating and displaying MovieClips from loaded SWF Next: Data Binding expressions