Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: doing trigs the easiest way ;) |
From: | bby |
Date: | Thu, 22 Jun 2000 21:58:30 +0100 |
Hello Flashers round the world,
I�ve just encountered a very easy way to get sine and cosine in FLASH.
for getting:
y = sine (x)
first we 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 )
thank god, i thought for myself befor i read what other flashers had
to contribute :(
just scanned `bout 80 Megs of stored flasher-digests (lurking since 08/99)
happy flashing,
Roland
bbyTagTeam [dot] de
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 helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]