I think the problem is that the TextField displaying the title is actually getting the click (rather than the title bar background) but it isn't doubleClickEnabled.

 

We're fixing the doubleClickEnabled setter to recurse into children.

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Scott Langeberg
Sent: Wednesday, March 29, 2006 2:43 PM
To: [email protected]
Subject: [flexcoders] Beta 2: TitleWindow.titleBar = No Double Clicking!

 

I'm unable to listen for doubleClick on the titleBar in my class that extends TitleWindow.
I'm able to catch the mouseDown event, but not doubleClick:

           this.titleBar.doubleClickEnabled = true;
           trace("dblclcickenable: "+this.titleBar.doubleClickEnabled)
           this.titleBar.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
           this.titleBar.addEventListener(MouseEvent.DOUBLE_CLICK, onDoubleClick);

Any ideas appreciated!

: : ) Scott



--
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




Reply via email to