Home > Flex > Enable double click interaction on a UIComponent in Flex

Enable double click interaction on a UIComponent in Flex

If you want to interact on the double click event on a UIComponent, you need to enable the “doubleClickEnabled” property.

For example:

<mx:Image
    source="/assets/image.png"
    doubleClick="showImage()"
    doubleClickEnabled="true"
    buttonMode="true"
    toolTip="Click to open the image in a new window."
    />

This is related to:
- flex double click not working
- flex mouse double click event

Categories: Flex Tags: ,
  1. No comments yet.
  1. No trackbacks yet.
Security Code: