0 Replies Latest reply on Dec 17, 2006 1:38 PM by Xx)MaveriK[X]

    Double Click cancelable?

      Hello there.

      I was reading the AS3 Docs and found this text at flash.events.Event description:

      "[...]For example, the doubleClick event has an associated default behavior that highlights the word under the mouse pointer at the time of the event. Your event listener can cancel this behavior by calling the preventDefault() method.[...]"

      I have an input text on the stage and tried to use preventDefault() on double click event, but a text still got selected. So I traced the event and saw that "cancelable" is False. Wasn't the doc telling it is true? Is there another way to avoid the default text selecting of a input text?

      Ian Liu.