# Movie Clip Navigation

**URL:** <https://forum.kirupa.com/t/movie-clip-navigation/235557>\
**Category:** flash\
**Created:** [August 12, 2007, 9:24pm UTC](https://forum.kirupa.com/t/movie-clip-navigation/235557 "2007-08-12T21:24:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tophat](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@tophat](https://forum.kirupa.com/u/tophat)\
**Post date:** [August 12, 2007, 9:24pm UTC](https://forum.kirupa.com/t/movie-clip-navigation/235557/1 "2007-08-12T21:24:31Z")

</div>

I’m working on a game similar to the Red Baron, which you can find on newgrounds. Anyways, I have already made a few beta games like a few platformers. But for the game I am currently making, I need to be able to detect a movie clip inside of another movie clip. The movie clip I’m trying to detect is a sword, and that only shows up when you’re attacking. I think my problem is movie clip navigation, so can someone please help me?

This is what I tried putting under an enemy mc, just to see if it will even detect the sword.:

onClipEvent(enterFrame) {  
if(this.hitTest(\_root.guy.sword)) {  
trace(“hit”);  
}  
}
