4000 is not a very small number for array... I have tested it for very high
values. and you will hit the loop limit before you hit the array limit. So
4000,10000 , 100000 array should be fine. 

For making an array empty  just assign myarray = []

And I believe array is the best method to do it

And to get the last point var point = myarray[myarray.length -1]




-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of nasim hhhhh
Sent: Thursday, August 04, 2011 11:12 AM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Array Limit

I want to have an array of x,y I use array of object like this var
arr:Array=new Array arr[0]=new Object()
arr[0].x=10
arr[0].y=22

..........
I have 4000 or more point because i want to save point of draw wave tore
draw it . i use array to save point what is Array limit ????????????
and is there better way to do it
how can i emty array to use it again ?
how can i get last point
thx

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to