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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -