Again,

You are the Man-ish!

Here's what it looks like:

        /**
        * All this, to allow double-click!!
        */
        protected override function layoutChrome(unscaledWidth:Number, unscaledHeight:Number):void {
            super.layoutChrome(unscaledWidth, unscaledHeight);
           
            this.titleBar.mouseChildren = false;   
        }

scott ;P

On 3/30/06, Manish Jethani <[EMAIL PROTECTED]> wrote:
On 3/31/06, Scott Langeberg <[EMAIL PROTECTED]> wrote:

>    Would this be the correct synax? It doesn't appear to work...:
>
>            this.titleBar.mouseChildren = false;
>            this.titleBar.doubleClickEnabled = true;
>
>            this.titleBar.addEventListener(MouseEvent.MOUSE_DOWN , onMouseDown);
>            this.titleBar.addEventListener(MouseEvent.DOUBLE_CLICK, onDoubleClick);

You know what?  Override "layoutChrome", call the superclass
implementation, and after that set the title bar's "mouseChildren" to
false.  Panel's "layoutChrome" sets it to true.

Manish


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






--

: : ) Scott


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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to