# Need some help in scripting

**URL:** https://forum.kirupa.com/t/need-some-help-in-scripting/219011
**Category:** Uncategorized
**Created:** [March 13, 2007, 4:21am UTC](https://forum.kirupa.com/t/need-some-help-in-scripting/219011 "2007-03-13T04:21:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![everybodysmokes](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/everybodysmokes/32/7377_2.png) [@everybodysmokes](https://forum.kirupa.com/u/everybodysmokes)
#### Post date: [March 13, 2007, 4:21am UTC](https://forum.kirupa.com/t/need-some-help-in-scripting/219011/1 "2007-03-13T04:21:36Z")

</div>

hi  
i just want to know that suppose that i have made a movie clip and have used startdrag(); and stopdrag(); in order to pan the image, and now in this movie clip i have putted some button so that thoses can also pan simultaneously when the image is panned.

the problme which i m facing is that if i m giving a link to the button it work properly if the frame is inside the same movie clip where the button is place.  
but not working if i give link to the button for some other scene (suppose scene 2).  
can any one help me out
