# Lock two sliders together

**URL:** <https://forum.kirupa.com/t/lock-two-sliders-together/231631>\
**Category:** flash\
**Created:** [July 6, 2007, 9:02am UTC](https://forum.kirupa.com/t/lock-two-sliders-together/231631 "2007-07-06T09:02:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snowfruit](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@snowfruit](https://forum.kirupa.com/u/snowfruit)\
**Post date:** [July 6, 2007, 9:02am UTC](https://forum.kirupa.com/t/lock-two-sliders-together/231631/1 "2007-07-06T09:02:15Z")

</div>

I’ve created a slider control (using the excellent tute on kirupa) and am using two instances of it on my stage. I also have a lock that sets the variable locked to true or false. What I want to do is if locked == true have both sliders move simultaneously to the same values if either one of them is dragged…  
Any suggestions?
