If possible then perhaps increasing the frame rate, the theory being that
there will be more tests going on and less likely the mouse has moved
outside the hit area before the test is performed. I guess increasing the
frame rate may not be an option. 

Hope that helps

Paul

-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mendelsohn,
Michael
Sent: 29 April 2009 14:29
To: Flash Coders List
Subject: [Flashcoders] hitTest unreliability

Hi list...

[AS2] If I moderately rapidly move the mouse in and out of a ScrollPane
component, a hitTest on movieclips contained within the ScrollPane won't
always evaluate correctly.  I can't figure out why it's so unreliable,
working only about 65% of the time.

The ScrollPane contains a bunch of movieclips, each with the onRollOut
function attached:

if(this._parent.hitTest(_root._xmouse, _root._ymouse)==false){
        O.UI.firstLevelMenu.flmSP.content.topicSynopsis.removeMovieClip();
}

Any thoughts?
- Michael M.    

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to