I am having trouble getting a hitTest to work. My two MCs are lines, one horizontal, one slanted. When the horizontal line gets within the "bounding box" of the slanted line the hitTest is true, but it's not touching the slanted line yet.
I saw that the shapeFlag property comes into play here, but only when using coordinates... I'm not sure how to apply it to these two lines. I want the hitTest to be true only when the lines actually touch. I have attached a simple FLA of the problem. What am I missing here? Thanks for looking.
In case anyone else runs into this, I found a solution.
There is a collision detection class, written by G Skinner, that allows for collision detection with irregular objects. It works nicely. You can find it here.