On Fri, 4 Mar 2005 11:17:26 +1100, grant <[EMAIL PROTECTED]> wrote:
> what scott, your socialCircle isn't big enough on cfaussie?

don't be jealous.. i've been lurking on the list for a bit now... but anyway :)

> hmm, do you mean you want to aggregate all the clicks before
> dispatching a single or double click event? so, if the user clicks 7
> times, your code will go, hmm, it's not a single click so therefore
> it's a dbl, instead of 3xdbl and 1xsingle...?

aye, thats the one. I can see it being a "delay" though... I just
finished a test concept and i'm not sure if its going to work as
theres this slight delay for even a single-click. Which is bad UI...

> nasty, cos where do you draw the line at what is a group of clicks and
> what is just another click?

Yeah, looking into further and after a cup of coffee i now see the
error of my way, in that either way you look at it, its like i'm
asking the application to read the users mind, once thats been done it
will carry out the intended purpose...

I however may approach it from another way in that it will carry out
the dblClick procedure and set a timer on that, if that dblClick
procedure is in play and it hears that singleClick has happened it
will ignore that... in theory this *should* work..

Its a really stupid requirement and it'll be once off but it got me
thinking that if you wanted to seperate singleclick from double click
and only use one or the other, how would that be done. Typically in  a
dblClick scenario the single click would simply render focus on the
object in question but in this case its slightly different...
aaaaaaanywho ignore me and umm  watch my social circle increase by 2px
;)

 
> 
> On Fri, 4 Mar 2005 09:54:23 +1000, Scott Barnes <[EMAIL PROTECTED]> wrote:
> > Heyas,
> >
> > I've got a buttonDecorator class which basically decorates any object
> > to take on board "button" state - ie captures mouse events,
> > interegates it and dispatches events accordingly.
> >
> > Now, the code I have basically tests to see if its a dblClick or a
> > singleClick, only the thing thats frustrating me the most is I want to
> > differentiate between a dblClick and a singleClick (one or the other).
> >
> > At the present moment, it works but if a user does 7 repeated clicks
> > fast, it would come back with 3xdblClicks and 1xSingleClick
> >
> > Has anyone been able to do some smart event management where you can
> > determine the total end result based on the users click intentions. As
> > in when the mouse stops it goes "ah you wanted dblClick" ..
> >
> > I'm probably shooting for the stars on this one, but would appreciate
> > anyones thoughts / experiences in implementing dblClick procedures for
> > Flash.
> >
> > --
> > Regards,
> > Scott Barnes
> > http://www.mossyblog.com
> >
> > ---
> > You are currently subscribed to fugli as: [EMAIL PROTECTED]
> > To unsubscribe send a blank email to [EMAIL PROTECTED]
> > Aussie Macromedia Developers: http://lists.daemon.com.au/
> >
> 
> ---
> You are currently subscribed to fugli as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 


-- 
Regards,
Scott Barnes
http://www.mossyblog.com

---
You are currently subscribed to fugli as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to