RE: [flexcoders] Panel Mouse Down Problem

2005-05-24 Thread Tracy Spratt
Try this. Add this property to your button tag:
trackAsMenu="true"

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kaibabsowats
Sent: Tuesday, May 24, 2005 12:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Panel Mouse Down Problem

I have a problem where the mouse doesn't fire off the correct
MouseDown event.  It only happens when the mouse doesn't move and a
new container with a mouseDown event is loaded under it.  It seems to
remember the last container's mouseDown area and fires that event.  I
am trying to figure out how to alleviate this problem.

Steps to recreate what I am talking about.
Copy the Example code into a mxml file.  Bring it up.
Click on the first panel, dont move the mouse.
You'll see a popup stating which Panel was clicked.
Then hit the space bar (as the popup has focus) to get rid of the
popup.  
With out moving the mouse click the left mouse button.  You'll see
that the same popup appears.
Clear the popup.
Now move the mouse, and click on the panel.
You'll see that it properly fires the panel's mouseDown.

Any help would be much appreciated

Example Code:

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













 
















 















 







 
Yahoo! Groups Links



 






 
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] Panel Mouse Down Problem

2005-05-24 Thread kaibabsowats
I have a problem where the mouse doesn't fire off the correct
MouseDown event.  It only happens when the mouse doesn't move and a
new container with a mouseDown event is loaded under it.  It seems to
remember the last container's mouseDown area and fires that event.  I
am trying to figure out how to alleviate this problem.

Steps to recreate what I am talking about.
Copy the Example code into a mxml file.  Bring it up.
Click on the first panel, dont move the mouse.
You'll see a popup stating which Panel was clicked.
Then hit the space bar (as the popup has focus) to get rid of the
popup.  
With out moving the mouse click the left mouse button.  You'll see
that the same popup appears.
Clear the popup.
Now move the mouse, and click on the panel.
You'll see that it properly fires the panel's mouseDown.

Any help would be much appreciated

Example Code:

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













 
















 










  




 







 
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/