# How to insert an mc into the frame

**URL:** <https://forum.kirupa.com/t/how-to-insert-an-mc-into-the-frame/85424>\
**Category:** programming\
**Created:** [April 4, 2005, 7:03pm UTC](https://forum.kirupa.com/t/how-to-insert-an-mc-into-the-frame/85424 "2005-04-04T19:03:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![patricktheking](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@patricktheking](https://forum.kirupa.com/u/patricktheking)\
**Post date:** [April 4, 2005, 7:03pm UTC](https://forum.kirupa.com/t/how-to-insert-an-mc-into-the-frame/85424/1 "2005-04-04T19:03:56Z")

</div>

Hey i have a hittest of two objects and when they collide i want a menu to kinda pop in the frame that will ask a yes or no answer… now how do i do that?bolded part is where im lost

onClipEvent (enterFrame) {  
if (\_root.dude.hitTest(\_root.object)) {  
**Insert.mcname.into movie?**  
\_root.mcname.\_y = 232;  
\_root.mcname.\_x = 211;  
}  
}

how would i do it?
