Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: radians angles cant get Math.sin() and Math.cos() to work right in F4 export |
From: | Gabriel Mulzer |
Date: | Fri, 1 Sep 2000 18:38:06 +0100 |
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
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 helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]