For a real time battle system, you should allow attacking and moving to happen simultaneously. It is a good start, but this should really be in journals instead of shared resources. Unless, are you going to attach your .stencyl file for other people to download?

Real time battle systems are like zelda or not turn based battles like pokemon or FF. If I add it once you attack while your moving I would still stop the player movements once the attack button was pressed. If the player is allowed to move while attacking the sword for example would still be extended one way when the the player decides to run in a different direction and attack there. Even if the sword changes side with the player. The player would start an attack in one direction and then turn another direction the sword would be facing the wrong direction even though it is on the right side of the player. So a stop is necessary before or after attack allowing movement to continue after the sword swipe. Believe me I tried it and it was too much of a hassle when I am ready to share the code by all means edit it to your hearts content.

I do have it attacking when stopped. I am going to change it to when it attacks it stops movement. I checked out your link and it is smooth because it is just a line popping up there is no animation to the sword. I got it to work like that but decided against it cause it looks more like a poker than a sword swipe. Also it could just be me but I'd prefer not allowing the player to run into the enemy with the sword. At least not with a sword. maybe javelin.