That might work if the player would only be able to move in 2 directions.
I kinda made the alignment of the animations, unfortunatelly, if the player press "Attack" when the character is falling, it seems like it makes a double jump.
Here is the .capx
dl.dropbox.com/u/80411165/Dungeon-test.capx
Thanks, and sorry if i wasn't able to explain correctly.
Edit:
Move with arrows, "a" is Attack, "s" is Jump.