How do we call a method in particular ItemRenderer. Also the ItemRenderer is our own Custom Component?


.
.
< id="comboBox" dataprovider="{statesXMLList}" labelfield="@name" itemrenderer="ComboBoxItemRenderer">
.
.
< /mx:Application>
View ComboBoxItemRenderer.mxml
< ?xml version="1.0" encoding="utf-8"?>
.
<.. text="{data.@name}" onclick="MyOwnMethodThatIWantToCall()">
.

No comments:

Post a Comment