I’m having big problems detecting when the mouse has left an object.
The problem is that my object is at the edge of the screen.
If the user moves the mouse too quickly, then the fact that the mouse has left the area is not detected.
I’ve tried lots of things… nothing works.
I tried putting a big buttons around and positioned behind the main object.
I’ve got a command saying onRollout do xxxxx.
That didn’t work.
Then I hit upon an idea that just could not fail.
I have a dummy movie in the background.
I have an onFrame command doing a hitest continously.
If the mouse is not over the dummy background… then do xxxx.
This still fails!
For the hitest, I have run a few trace commands that retunr true or false when the mouse is over.
Because my movie is on the edge, the user can move the mouse quickly… and the code still reports as ‘true’ the mouse is still over the object.
I’m pulling my hair out over this one.
Surely this must be a really common problem…?
Thanks.
OM