Hi Divya,

Check out this custom class for shuffling the array:

http://lapsusbloggus.blogspot.com/2007/12/arrayshuffle-in-as3.html

And also an AS2 way.. but you can use the logic to build your own class to
do the shuffling based on this concept:

http://www.sephiroth.it/proto_detail.php?id=149

Regards,
Venkat
www.venkatv.com


On Mon, Dec 1, 2008 at 4:17 PM, Nishant Kyal <[EMAIL PROTECTED]> wrote:

> By shuffle you mean arrange randomly, right?
> You can create another blank array, pop values from random indices from the
> source array and push into new array till source array is empty.
>
> Nishant
> www.itasveer.com
>
> On Mon, Dec 1, 2008 at 3:24 PM, divya <[EMAIL PROTECTED]> wrote:
>
>>
>> hi
>>   i  using array . and fecthing some data form other source. i want
>> to shuffle the data in array.
>>
>> can any one help me to solve this problem
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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