If there was something large and odd shaped, like a triangle or a throwing star, if you only wanted the edges and the star itself rather than having the entire box that surrounds it to have a hitTest, how would it be done?
For example, there is a four pointed object: (imagine something like this)
but only the | and - does the actual hitTest, not the "o" box that surrounds it.Code:ooooooooo o | o o---|---o o | o ooooooooo (image may be distorted, the "o" represents the movieclip (and its box) and the lines represent the star itself. If anything inside the "o" touches something, the hitTest function will activate. Is there anyway to make is specifically target only the lines inside the "o" box?)
Just wondering if its possible.




Reply With Quote
