Trying to add a doubleClick listener to the TitleWindow's title bar
without luck:

        public class AgendaItemViewerBase extends TitleWindow
        {                       
                public function AgendaItemViewerBase()
                {
                        addEventListener(FlexEvent.CREATION_COMPLETE, init);
                }
                
                private function init(event:FlexEvent):void
                {
                        this.titleBar.addEventListener(MouseEvent.DOUBLE_CLICK,
slideUpDown);                   
                }

I've had problems adding event listeners here (after
CREATION_COMPLETE) with other items as well. Why?


Reply via email to