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
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, 2011, 3:34 PM
Sure. I knew there would be bugs in
, 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:
>
>
Dear 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:
From: Kerry Thompson
Subject: Re: [F
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
Not the solution, but I notice you try to add .001 to an integer.
So the var i should be a Number?
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of nasim h
Sent: maandag 22 augustus 2011 9:12
To: Flashco
sorry - i had an off by one error...
On 9/28/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:
Check your references to other variables and index values, the way you
have it is by-the-book correct:
var foo:Array = new Array();
foo[0] = {typ:"A", label:"foobar"};
foo[0].typ = "B";
trace(foo[0].typ)
If someIndex != 0 then you have to
foo[someIndex] = new Object();
foo[someIndex].typ = "B";
P.
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:flashcoders-
>> [EMAIL PROTECTED] On Behalf Of eric dolecki
>> Sent: Thursday, September 28, 2006 1:26 PM
>> To: Flashcoders mailing l
Check your references to other variables and index values, the way you
have it is by-the-book correct:
var foo:Array = new Array();
foo[0] = {typ:"A", label:"foobar"};
foo[0].typ = "B";
trace(foo[0].typ) //traces "B"
Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technolog
17 matches
Mail list logo