# On press drag two movie clips?

**URL:** <https://forum.kirupa.com/t/on-press-drag-two-movie-clips/54509>\
**Category:** flash\
**Created:** [June 15, 2004, 11:29am UTC](https://forum.kirupa.com/t/on-press-drag-two-movie-clips/54509 "2004-06-15T11:29:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ejrob](https://avatars.discourse-cdn.com/v4/letter/e/c57346/32.png) [@Ejrob](https://forum.kirupa.com/u/Ejrob)\
**Post date:** [June 15, 2004, 11:29am UTC](https://forum.kirupa.com/t/on-press-drag-two-movie-clips/54509/1 "2004-06-15T11:29:02Z")

</div>

Hi  
I have a magnifier made of two movieclips, glass\_mc and handle\_mc. The glass\_mc is a mask revealing an image in a layer below.  
Now I want the handle to move like this:  
on (press) {  
startDrag(handle\_mc, false);  
}  
on (release) {  
stopDrag();  
}  
(See attached example)  
But this script can only take care of one movieclip. I want the glass\_mc to follow as well,  
Hope someone can explain how it should be done.  
//Ejrob
