apply htmlText to ComboBox in Animate CC
I can handle dropdown part using cell renderer, but not able to change the top selection part(combobox.textfield) to display HTML text. Is there any way to solve this problem?

myComboBox.addItem({label:t1.text});
myComboBox.addItem({label:t2.text});
myComboBox.addItem({label:t3.text});
myComboBox.addItem({label:t4.text});
myComboBox.dropdown.rowHeight = 40;
myComboBox.dropdown.setStyle("cellRenderer", dropDownCellRenderer);
addChild(myComboBox);
package {
import fl.controls.listClasses.CellRenderer;
public class dropDownCellRenderer extends CellRenderer {
public function dropDownCellRenderer() {
// constructor code
}
override protected function drawLayout():void {
textField.htmlText = this.label;
super.drawLayout();
}
}
}
Regards,
Rikun Patel
