Hi dear  alerts push in stock order so  when loop get ends u see last last
element of array in alert  box first .

2009/10/3 trubel4life <[email protected]>

>
> I have this for each loop
>
>
>                                var myArray:Array = ["one", "two", "three",
> "four", "five"];
>                                for each (var item:String in myArray)
>                                {
>                                    Alert.show("This Array is.... " + item);
>                                }
>
> When the loop is displayed,  via the Alert in this example, flex
> reverses my array starting with 'five'
>
> Can anyone tell me why this is?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to