# Loading an swf into an swf

**URL:** https://forum.kirupa.com/t/loading-an-swf-into-an-swf/182500
**Category:** flash
**Created:** [March 18, 2006, 9:47pm UTC](https://forum.kirupa.com/t/loading-an-swf-into-an-swf/182500 "2006-03-18T21:47:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Senturio](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@Senturio](https://forum.kirupa.com/u/Senturio)
#### Post date: [March 18, 2006, 9:47pm UTC](https://forum.kirupa.com/t/loading-an-swf-into-an-swf/182500/1 "2006-03-18T21:47:48Z")

</div>

hey, i got a question about naming, if you load an external swf into an other swf.

i found a great tutorial on this website about dragging and dropping with the droptarget.

the code is:

on (press) {  
startDrag("\_parent.zonnetje");  
}  
on (release) {  
stopDrag();  
if (\_parent.zonnetje.\_droptarget == “/vogels”) {  
\_parent.gotoAndPlay(58);  
}  
}

Now this works in the swf. but when i import the swf into an other swf it doesn’t reconize the vogels movieclip.

so i think i have to give “/vogels” an other name but i allready tried with \_parent.vogels and \_root.vogels none of them work.

anybody knows how i can solve this problem.

grtzz Sent.
