[flexcoders] Re: Panel Mouse Down Problem

2005-05-24 Thread kaibabsowats
Here I made it simplier:


http://www.macromedia.com/2003/mxml"; xmlns="*">





 



Have your mouse over the panel as you refresh the page, the mouseDown
event is not working until you move the mouse.




 
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/
 




[flexcoders] Re: Panel Mouse Down Problem

2005-05-27 Thread alex_harui
There are some idiosyncracies when objects appear and disappear under 
the mouse.  In general, by listening to all mouse events (down, up, 
over, out) you can see a pattern that you can look for (you may see an 
over instead of a down for example).

In other situations, this can be remedied by not changing the object 
under the mouse in response to a mouse event, which can be done by 
taking the functionality in the mouse event, wrapping it in a function 
and calling it via doLater.

function showAlertLater()
{
   Alert.show(...)
}
mousedown="doLater(this, 'showAlertLater')"

No guarantees, but we've worked around these kinds of issues 
successfully.




 
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/