Flasher Archive

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


Subject: FLASH: Re: sine
From: bby
Date: Mon, 28 Aug 2000 10:19:24 +0100

>
>Where do I find the hacks that let me do sine and cosine? thanks in advance
>(somebody tell me that Flash 5 comes with this stuff built in).
>
heres an earlier message for that topic

I´ve just encountered a very easy way to get sine and cosine in FLASH.
for getting:
y = sine (x)

first you will need an (invisible) horizontal (angle = 0°) hairline
with a length of 100 pixel, make it a movie clip wit instance-name =
line.

then:
Set Property ("/line", Rotation) = x

and in the third step:
Set Variable: "y" = (GetProperty ( "/line", _width )) /100
well heres your sine

and for cosine you have to: GetProperty ( "/line", _height )

Roland

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
  FLASH: Educational Version of Flash 5?, Neil Weinberg

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