Flasher Archive

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


Subject: RE: FLASH: maths and object movement. Equations needed.
From: Tim Allan
Date: Thu, 20 Apr 2000 01:32:36 +0100

thanks heaps. This helps alot.

-----Original Message-----
From: Q. Paradigm [vectorparadigmathotmail [dot] com (mailto:vectorparadigmathotmail [dot] com)]
Sent: Thursday, 20 April 2000 10:09 AM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: maths and object movement. Equations needed.


Its actually pretty easy...
The basic idea is that when the slider is being dragged you keep track of
where the slider is and where it used to be the last time you checked...
since flash moves at a constant rate if you subtract the current position by

the last position you get the speed. Once the slider is let go of you
simply keep adding that # to the position of the slider each time. To make
it slow down you just take a % off of the speed each time.

You can download a sample I just made at
www.figleaf.com/development/flash4/throwX.zip



-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software - "We�ve got you covered!"

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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