I dont know if this is a bug or something else but i dont know where else to get help for my problem.
I already tried the "how do i" section, but no answers there.
The folowing link brings u to my game.
The problem is this:
When the player holds down the mouse button and moves the mouse outside of the iframe and then back in to the game area "stil holding down the mouse button".
Then that mouse button wil be down infinite within the game.
So u can release the mouse button with your finger, but it doesnt release the event in the game.
The Green square sprite is set to move to the mouse X&Y when mouse button is down.
And not to do that when mouse is released.
However, due to this bug the green sprite keeps comming towards the mouse after the player got his mouse button down and outside the iframe.
Here is my CapX
I wonder how to solve this iframe bug, if it has to do with that?
Any help would be great!