# Adding menu on hittest

**URL:** <https://forum.kirupa.com/t/adding-menu-on-hittest/86084>\
**Category:** programming\
**Created:** [April 10, 2005, 1:08am UTC](https://forum.kirupa.com/t/adding-menu-on-hittest/86084 "2005-04-10T01:08:09Z")\
**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 10, 2005, 1:08am UTC](https://forum.kirupa.com/t/adding-menu-on-hittest/86084/1 "2005-04-10T01:08:09Z")

</div>

Hey im trying to add a chatmenu from my library when my 2 guys hit. Heres my fla.  
right now i have this code to bring the mx from the library to the stage.

onClipEvent (enterFrame) {  
if (this.hitTest(\_root.man)) {  
// how to i make the menu from the library appear on screen?  
MovieClip.attachMovie(chat\_log);  
}  
}

heres the fla… please help
