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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -