You have to set the doubleClickEnabled property to true
http://livedocs.macromedia.com/flex/2/langref/flash/display/InteractiveObject.html M On 12/18/06, ecpmaz <[EMAIL PROTECTED]> wrote:
Hie, Sorry but i can't find the problem in this stupid code : i can't catch any double click event : ################################################## <?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init();"> <mx:Script> <![CDATA[ private function init():void { b.addEventListener(MouseEvent.DOUBLE_CLICK, d); } private function d(event:MouseEvent):void { trace("haha"); } ]]> </mx:Script> <mx:Button label="Button" id="b"/> </mx:Application> ################################################## Any clue ? Mathieu LEMAIRE
-- Manuel Saint-Victor, MD Jackson Healthcare System Department of Psychiatry

