Simple Drag and Drop question

I have a movie (i.e. “dragMov”) which is loaded by another flash file (i.e. “mainFile”). So the root is mainFile. This code is inside a button in dragMov (doesn’t work when mainFile is played - works when dragMov is played):

 
on(release) {
 stopDrag ();        
 
 if (this._droptarget != "/target1" ) {
 
   blahblahblahblah 
 }
 
 else {
   blahblahblahblah 
 }
 
}

I am guessing that “/target1” is equal to _root.target1. How can I change it so that it refers to dragMov’s target1, not the root’s?

I could put the code in another layer, instead of inside the button, but I just wanna know how… :book:

I am not sure how mainFile loads the movie, because it is inside our LMS and I just upload them over the net.