Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: anyone written an arctangent function for flash?
From: John Andrew Morrison
Date: Sat, 1 Jul 2000 00:25:09 +0100

I didn't mean to diminish your work Matt, it is a great piece
compared to some of the other estimation scripts I have seen;
very straight forward.

John

Matt Wobensmith wrote:

> Hi John -
>
> You wrote:
>
> >Maybe I'm naive, but wouldn't it be better to use the
> >loadvariable capabilities to run a perl, PHP or ASP
> >script which has the functions built in?
>
> What, you don't like my script? :>)
>
> To answer your question, yes. Having an external scripting language with a
> built-in math object would be more accurate and make more sense. However,
> there are times where it would certainly be, um, nice to have an arctan
> function in Flash.
>
> I'm sure there are better ways to do arctan in Flash 4 - don't ask me to
> write one, I don't know how - so I'm sure the group can answer that. This
> was just one sample.
>
> Matt
>
> ps - that code again, since I love it so much! You have to admit that it has
> a certain charm to it.
>
> Comment: one big taylor series to calculate arctan
> Set Variable: "x" = input
> Set Variable: "arctan" =
> x-(x*x*x/3)+(x*x*x*x*x/5)-(x*x*x*x*x*x*x/7)+(x*x*x*x*x*x*x*x*x/9)-(x*x*x*x*x
> *x*x*x*x*x*x/11)+(x*x*x*x*x*x*x*x*x*x*x*x*x/13)-(x*x*x*x*x*x*x*x*x*x*x*x*x*x
> *x/15)+(x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x/17)-(x*x*x*x*x*x*x*x*x*x*x*x*x*x*x
> *x*x*x*x/19)+(x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x*x/21)-(x*x*x*x*x*x*x*x
> *x*x*x*x*x*x*x*x*x*x*x*x*x*x*x/23)
> Set Variable: "output" = arctan
>
> ---------------
> Matt Wobensmith
> Macromedia
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: anyone written an arctangent , Matt Wobensmith

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]