Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: maths and object movement. Equations needed. |
From: | Q. Paradigm |
Date: | Thu, 20 Apr 2000 01:23:25 +0100 |
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 helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]