# Slider

**URL:** https://forum.kirupa.com/t/slider/98387
**Category:** Uncategorized
**Created:** [January 6, 2004, 7:35pm UTC](https://forum.kirupa.com/t/slider/98387 "2004-01-06T19:35:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Laslett](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@Laslett](https://forum.kirupa.com/u/Laslett)
#### Post date: [January 6, 2004, 7:35pm UTC](https://forum.kirupa.com/t/slider/98387/1 "2004-01-06T19:35:17Z")

</div>

I have

a) main bar  
b) Text field within a Button within a movie clip so I can duplicate the movie and assign a var as text to label the button  
c) slider.

I want to be able to slide the slider when I have clicked the button (the button will load content relating to tto show that the page content relates to the text label of the button). so I need an on clip event(butoondown) to some how figure whether the slider is right or left of the button that it to be pressed this will provide my -ve / +ve direction for the slider to move in. then loop until the position of the slider is under the button that has been pressed somehow having done a easing of the slider to the position under the button.

How thats clear. I’m sure its really simple but I’ve had a brain plug. Oh and if possible Flash 5 compatible
