Mouse off stage

Out of context: Reply #6

  • Started
  • Last post
  • 14 Responses
  • ********
    0

    trouble with using a 2 pixel strip is that your mouse will very likely skip over that strip and not hit it.

    best way is detecting for any mouse movement on stage, and combining this with if the mouse is close to the edge, as these things would help show that the mouse is likely off stage... although it would depend on the focus of the users interaction, i.e if they were filling a form in flash, those conditions might make you think the mouse is off screen, when it isn't

View thread