I have a car that drives around a map named "car" that's within a movieclip named "map". I have a character named "player" who has 2 frames, "norm" which contains another movieclip named "playerNorm" which is the normal state of the character. In "dead", the character is dead. I want it so that when "player" collides with "car", "player" will show it's "dead" state.
stop();
onEnterFrame = function ()
{
if (_root.playerNorm.hitTest(_root.car))
{
this.gotoAndStop("dead");
}
};