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

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -