MouseEvents are not cancelable. You can kill them via stopImmediatePropagation.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: [email protected] [mailto:[email protected]] On Behalf Of Nick Middleweek Sent: Tuesday, September 01, 2009 9:56 AM To: [email protected] Subject: [flexcoders] Stopping double-click of a button 'bubble' to the datagrid row Hello, I've got an advancedDataGrid (AvDG) and the first column has an item renderer which has a button on it. The button has a click handler. There is also a itemDoubleClick handler on the AvDG. Users are double-clicking the button so this is firing the click of the button handler but the doubleClick event is also being fired on the AvDG row item. I'm guessing this is related to event bubbling or capturing? I'm trying to stop the AvDG.row doubleClick event being fired if the user double clicks on the button. Anyone got any ideas? I've tried to put a doubleClick on the button in hope that it would handle it and therefore stop the row event from being fired but ti didn't work. Now I think i need to capture the doubleClick cancel event in the button object and prevent it from bubbling from the button to the AvDG. Where do I set event.cancelable = true? Thanks, Nick

