Hello! i have a problem, me need add in combobox data with xml and need add images (images in xml), how?
i have code:
labelIconCombo = new ComboBox();
labelIconCombo.prompt = Resources.UI_ANNOTATIONSICONPROMPT;
labelIconCombo.rowCount = 16;
labelIconCombo.dataProvider = new DataProvider([
{ label:Resources.CONTENT_ANNOTATIONSLABEL1, id:"caption" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL2, id:"polygon" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL3, id:"externalGraphicFile" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL4, id:"circle" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL5, id:"triangle" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL6, id:"square" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL7, id:"arrowUp" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL8, id:"arrowUpRight" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL9, id:"arrowRight" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL10, id:"arrowDownRight" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL11, id:"arrowDown" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL12, id:"arrowDownLeft" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL13, id:"arrowLeft" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL14, id:"arrowUpLeft" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL15, id:"lineHorizontal" },
{ label:Resources.CONTENT_ANNOTATIONSLABEL16, id:"lineVertical" }
]);
output data in combobox, but without xml and images, how add output with xml and add images with xml
Thanks