f point type or use 2
> vector of number type???
> is it ok to clear vector by this code vect.length=0
> best regard
> nasim
>
> --- On Tue, 8/23/11, Kerry Thompson wrote:
>
>
> From: Kerry Thompson
> Subject: Re: [Flashcoders] array problem,loop.plot
> To: "
I say, store no pints what so ever. Store the formula needed to compute
each point. Then you can just compute the point when actually needed.
This way you can plot the graph at any zoom level without sacrificing
any quality.
___
Flashcoders mailing l
code vect.length=0
best regard
nasim
--- On Tue, 8/23/11, Kerry Thompson wrote:
From: Kerry Thompson
Subject: Re: [Flashcoders] array problem,loop.plot
To: "Flash Coders List"
Date: Tuesday, August 23, 2011, 12:35 AM
Hi Nasim,
You can certainly create an array of 20,000 elemen
it
> in my program i should fine soulotion to draw online point plz help me
>
> --- On Mon, 8/22/11, Kerry Thompson wrote:
>
>
> From: Kerry Thompson
> Subject: Re: [Flashcoders] array problem,loop.plot
> To: "Flash Coders List"
> Date: Monday, August 22
ust 2011 2:13 PM
To: Flash Coders List
Subject: Re: [Flashcoders] array problem,loop.plot
Dear Kerry
Hi
I am really apreciate u , one of my bigest problem is when i want create point
, my boss want to have an array of point that has distance between -1 to
1 or more than it because when th
, Kerry Thompson wrote:
From: Kerry Thompson
Subject: Re: [Flashcoders] array problem,loop.plot
To: "Flash Coders List"
Date: Monday, August 22, 2011, 3:34 PM
Sure. I knew there would be bugs in my code :-)
Actually, you have so many points, you probably don't need to use
cu
ear Kerry
> I 'am really appreciate u ,but the first problem that i didnt use curve to is
> it's parameter
> it needs 4 parameter and i cant guess how to define curve point
> do u have any idea plz tell me
>
> --- On Mon, 8/22/11, Kerry Thompson wrote:
>
>
lashcoders] array problem,loop.plot
To: "Flash Coders List"
Date: Monday, August 22, 2011, 9:41 AM
Gerry and Henrik have the right answer. Your computer monitor isn't
capable of displaying 20 million points, and Flash will hang, as you
have found out.
This is untested e-mail AS3, bu
Gerry and Henrik have the right answer. Your computer monitor isn't
capable of displaying 20 million points, and Flash will hang, as you
have found out.
This is untested e-mail AS3, but I would do it something like this:
var pointX:Vector.; //vectors are much faster than arrays
var pointY:Vector.
Use a reasonable amount of points. Don't draw more points than the graph
is wide.
Consider using curveTo to get smoother lines.
Consider using the bulk drawing to reduce the cost of telling flash each
point. One method call vs one per point can make a difference.
_
/ i want to make point in my program and plot it one by one i
make i plot
i make i plot
is there better way?
--- On Mon, 8/22/11, Gerry Beauregard wrote:
From: Gerry Beauregard
Subject: Re: [Flashcoders] array problem,loop.plot
To: "Flash Coders List"
Date: Monday, August 22, 201
On 2011-08-22 , at 16:06 , nasim h wrote:
> for( var i:Number= -1 ;i<1;i+=.001) { arr[i]=new object() arr[i].x=i
> arr[i].y=5*Math.sin(20*i);
> functiononlinedraw()
> }
Perhaps the problem is simply that you're trying to plot too many points. If
you're stepping from -1 to +1000
at array can store data until the last index of them
,and the last index of them is last integer number ???
--- On Mon, 8/22/11, Cor wrote:
From: Cor
Subject: RE: [Flashcoders] array problem,loop.plot
To: "'Flash Coders List'"
Date: Monday, August 22, 2011, 3:17 AM
Not th
: Flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] array problem,loop.plot
hi
In my program create x,y and i should plot it , the number of point are too
much
2*10 ^ 8
i use for to create point depend on it's formula but my for stuck in 1
with step .001
for( var i:int= -1 ;i<
hi
In my program create x,y and i should plot it , the number of point are too
much
2*10 ^ 8
i use for to create point depend on it's formula but my for stuck in 1
with step .001
for( var i:int= -1 ;i<1;i+=.001)
{
arr[i]=new object()
arr[i].x=i
arr[i].y=5*Math.sin(20*i);
functio
15 matches
Mail list logo