Please file it if it doesn't work in Flex 2.0. Mouse event handling has
completely changed.

- Gordon


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of JesterXL
Sent: Tuesday, October 18, 2005 4:15 PM
To: Flexcoders
Subject: [flexcoders] Flex 1.5 mx.events.LowLevelEvents bug(99911)
addition

Before I log this, wanted to make sure my logic is correct.

- I have a VBox full of dynamically created children (via createChild).
- those children have the ability to change their index by clicking on
up 
and down arrow buttons
- clicking the button causes the parent to call setChildIndex to adjust
the 
index up or down
- this calls layoutChildren, which in turn re-positions the children...
BUT 
does not update the _mouseTracker that is created via 
mx.events.LowLevelEvents
- if you click again, the mouseUp event still thinks the same child is
the 
target, and thus dispatches this in mouseUp evnets.

Naturally, moving your mouse after clicking fixes it because onMouseMove

gets called twice.

What I did to fix it so you don't have to move your mouse is to
immediately 
call
mx.events.LowLevelEvents.onMouseMove twice after setChildIndex.

Works like a charm, but man, that was HARD to find...!

Is it a confirmed bug and should I file?

--JesterXL





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to