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
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
And to get the last point var point = myarray[myarray.length -1]
OK, I misread the question and didn't subtract 1 as a result. D'oh!
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/
Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA
consider a vector..its faster than array.
On Wed, Aug 3, 2011 at 11:37 PM, Dave Watts dwa...@figleaf.com wrote:
And to get the last point var point = myarray[myarray.length -1]
OK, I misread the question and didn't subtract 1 as a result. D'oh!
Dave Watts, CTO, Fig Leaf Software
Dave Watts wrote:
If you want to reuse it, just redeclare it. If you want it to be
garbage-collected (you don't want to reuse it), things become a bit
more complicated I think.
There's not a way of forcing garbage collection that I know of. You
can make an array eligible for garbage
Deepak Sahu wrote:
consider a vector..its faster than array.
It is. There are a couple of essential differences you should know of.
Primarily, all the elements of the vector need to be of the same type.
I think it will work with objects.
The other difference is that you can't have empty
you should consider to use a linked list
--
Pedro Taranto
On Thu, Aug 4, 2011 at 4:26 AM, Kerry Thompson al...@cyberiantiger.bizwrote:
Deepak Sahu wrote:
consider a vector..its faster than array.
It is. There are a couple of essential differences you should know of.
Primarily, all the
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
8 matches
Mail list logo