# Easing a slider with on(release)

**URL:** <https://forum.kirupa.com/t/easing-a-slider-with-on-release/97025>\
**Category:** Uncategorized\
**Created:** [December 16, 2003, 9:00pm UTC](https://forum.kirupa.com/t/easing-a-slider-with-on-release/97025 "2003-12-16T21:00:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![studvicious](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@studvicious](https://forum.kirupa.com/u/studvicious)\
**Post date:** [December 16, 2003, 9:00pm UTC](https://forum.kirupa.com/t/easing-a-slider-with-on-release/97025/1 "2003-12-16T21:00:29Z")

</div>

Here goes… I’ve been working on this for a good while now and I can’t FULLY get it to work, so I need some help…

I have a slider that controls my audio volume, it works great… I also have stop and play buttons that (you guessed it) stop and play the audio… Now the effect that I’m going for is when you click the stop button the slider gracefully slides back to “zero” (which in my case it would be something like \_x = -50) and when you hit the play button the slider would smoothly slide all the way to the right side of the slider (which would be \_x = 50)…

I’ve gotten it to work to the point where when you click on the buttons they go to the right place but I’m having trouble easing them there… did that make sense?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 17, 2003, 1:41pm UTC](https://forum.kirupa.com/t/easing-a-slider-with-on-release/97025/2 "2003-12-17T13:41:29Z")

</div>

Sweet dude! Hang on to that prototype, it’ll come in handy. I’ve modified it and used it many times. Check out this little menu I created based on it. [http://www.trimerous.com/dev/ld/](http://www.trimerous.com/dev/ld/)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 17, 2003, 3:07pm UTC](https://forum.kirupa.com/t/easing-a-slider-with-on-release/97025/3 "2003-12-17T15:07:09Z")

</div>

nice! That blur effect is pretty sweet too… I’ll be sure to hang on to it, I can already see many uses… thanks again everyone.

:p:
