I started making a small multi-player avatar chat to start my self with flash and multi-player. Everything worked fine when I was using arrows to move but when I started using the mouse something goes wrong.
Bit more info: When two or more users are connected at the same time and both on the users try to move one user will move and the other will stop in its tracks as the other users data is recived from the server.
EG: User one clicks to move and starts moving. Player two click while player one is in transit. Then player one stops before they reach there desired X,Y and user two carrys on until user one go's to move again.
When using the keys to move all players can move at the same time as there is no need for a loop which im guessing has something to do with the problem.
This is the code: http://pastebin.com/dCanCtP3