actionscript 3 - How to access a Dictionary from mx:repeater in flex? -
i'd create repeated labels
predefined key-value list. defined list dictionary
follows:
private static var logos:dictionary = new dictionary; { logos[0] = "test0"; logos[17] = "test17"; }
now i'm trying fill repeater. know following not work .key
, .value
, how in flex/as
?
<mx:repeater id="repeaterid" dataprovider="{logos}" > <s:label value="#{repeaterid.currentitem.key}" label="#{repeaterid.currentitem.value}" /> </mx:repeater>
Comments
Post a Comment