# Attatching One Clip Onto Another

**URL:** <https://forum.kirupa.com/t/attatching-one-clip-onto-another/151073>\
**Category:** programming\
**Created:** [June 13, 2005, 2:48am UTC](https://forum.kirupa.com/t/attatching-one-clip-onto-another/151073 "2005-06-13T02:48:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Insane\_Knux](https://avatars.discourse-cdn.com/v4/letter/i/439d5e/32.png) [@Insane\_Knux](https://forum.kirupa.com/u/Insane_Knux)\
**Post date:** [June 13, 2005, 2:48am UTC](https://forum.kirupa.com/t/attatching-one-clip-onto-another/151073/1 "2005-06-13T02:48:37Z")

</div>

Ok, I have this gun, and it’s in a movie clip.  
And then I have another gun, and it’s not in the movie clip.  
And I can’t make it where the gun outside the movie clip, is the same X and Y position as the gun inside the movie clip.  
Can someone help?  
If needed, here’s my code:  
[AS]onClipEvent(load){  
\_x = \_root.gun.\_x  
\_y = \_root.gun.\_y  
}[/AS]

Someone please help, I’ve been trying to fix this for 2 hours…
