Flasher Archive

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


Subject: FLASH: Math.cos() -> F4 [xpost + repost, was: radians...]
From: Gabriel Mulzer
Date: Fri, 1 Sep 2000 19:53:55 +0100

( yes, sorry for reposting and sending to several lists, but I felt like
the old
subject line will not be of interest to anyone )
________________________________________________________

i tried :

cos = Math.cos(Math.PI/180 * Int(curangle));
sin = Math.sin(Math.PI/180 * Int(curangle));

works when I export as F5 but not when I export as F4
there is nothing else F5 specific in the movie,
( except for the autotranslation that took place when I
loaded the movie first )

in the F4 version the debugger shows sin and cos are sometimes < -1 or > 1

I tried the following single frame movie :

a = -400;
while (a < 400 and test <= 1 and test >= -1) {
test = Math.cos(Math.PI/180 * a);
a = a + .5;
}

and it really stops in F4 export while a is still -400
test being >6 !

I have only very little programming knowledge,
are angles > 2*PI or negative ones not allowed ?
what is a valid range for an angle ?

__gabriel


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Math.cos() -> F4 , Gregg Caines

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