hitTestObject as a Child
I am creating a real time fighting game, and on the stage I have two boundary boxes (MovieClips). There are also two character MovieClips, each added as a child to their respective boundary box through the timeline code. In each of these MovieClips, there is a hitbox, which, for certain animations, has it's .visible property set to false. What I need is for a boundary box to detect when it is being hit by a visible hitbox, and then run the damage function based on a variable which is set in the animation.
How do I do that?
Every time I try hitTestObject(MovieClip(parent).box.char.hit) it tells me that it doesn't exist.
