Have you seen my missing Event MetaData?
My new colleague and old college buddy jeremy mooer and I found some interesting things with metadata going on in the flex framework today. We had extended UIComponent and had a custom function that we had marked with a
[
Bindable("enabledChanged")]metadata tag so we could bind it because we wanted our bindings to execute when our component was enabled and disabled. Our bindings didn’t work and it turned out because the there was no
[
Event(name="enabledChanged",type="flash.events.Event")]metadata tag on the UIComponent. After a bit of researching I found this bug base issue. Turns out the status is closed however, which I hope means the flex team is double checking the metadata tags. There also seemed to be several bugs on other event and effect metadata tags. At any rate, we added the event metadata tag to our component and it worked.
Comments