Select to view content in your preferred language

parcourir arrayCollection

716
4
04-18-2013 04:53 AM
lifeEsri
Occasional Contributor
hello

parcourir arrayCollection !!!!

thank you
Tags (2)
0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
Life ESRI,

   What do you mean Browse ArrayCollection?... Are you asking how do you do that?
0 Kudos
lifeEsri
Occasional Contributor
Life ESRI,

   What do you mean Browse ArrayCollection?... Are you asking how do you do that?



thank you rscheitlin


I would go a ArrayCollection

private var myDP:ArrayCollection = new ArrayCollection();
myDP=initiali.retournerlayers();// retournerlayers()==>this function return arraycollection

for (var i:int = 0; i < 2; i++)
                    {
   var lyrLabel:String =myDP;
                     }
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
life Esri,

   I am not sure I understand...
Does this help?

for (var i:int = 0; i < myDP.length; i++)
                    {
   var lyrLabel:String = myDP;
trace(lyrLabel);
                     }   
0 Kudos
KomanDiabate
Deactivated User
Robert,
I think you got it, he meant traverse an array..... Looping through the array.
Hope that helps..
0 Kudos