PDA

View Full Version : easing movement ?


dwl
09-22-2002, 07:24 PM
Hi all, since I really am a newbie at Flash MX this is the place to ask the following :
I have created a movieclip which moves a little panel into place from bottom to top :

onClipEvent (enterFrame) {
if (this._y>-800) {
this._y += -10;
}
}

but now I want to control the speed so that the movement starts fast but eases down before it stops in place, and I canŽt find the answer.. Hints appreciated! Thanks :confused:

pixelwit
09-22-2002, 11:13 PM
Play with the attached file, it should help you out a bit.

-PiXELWiT
http://www.pixelwit.com

dwl
09-23-2002, 05:14 AM
Hi Pixelwit,

thanks for the zip! IŽll check it out :)