"To prevent the player standing up inside a wall do something like:
If the player is crawling and down is not pressed then
change the player size to (39,126)
if the player is not overlapping wall at offset 0,-1 then
stand up... set animations etc..
else
set size back to (39,126) + stay crouching"
After spending many hours breaking my capx, I haven't been able to get this to work either. <img src="smileys/smiley5.gif" border="0" align="middle">
It was kinda tricky. You have to make sure the player can't jump while crouching, crouch while flying, fly while crawling, etc etc...
I think this covers everything:
animationTest3.capx