incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: [Proposal] Different behaviour on click and doubleClick on UIComponent
Date Fri, 20 Apr 2012 17:20:46 GMT



On 4/20/12 8:43 AM, "andrei apostolache" <apostolache.andrei@gmail.com>
wrote:

> Hi Scott,
> 
> Is not about a new component, it's about all spark components that are
> based on UIComponent. Think for example a simple spark button, <s:Button
> click="doSomething()" doubleClick="doSomethingElse()"
> doubleClickEnabled="true" /> if you will try to double click the button
> first it will trigger doSomething() and then doSomethingElse(), while the
> expectation would be: click received (should obfuscate it for 300 ms to see
> if the user is going for a double click), if second click happens trigger
> doSomethingElse(), otherwise trigger doSomething().
> 
These requests are why we need to find an efficient plug-in model for the
SDK.  Then you can alter this behavior and not mess up someone who does need
the click when it happens.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message