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




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/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