Thanks for the hint! If I can't find another way, then I'll go that route. Thanks again.
John --- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote: > > this could help, you are def going to use a timer > http://raghuonflex.wordpress.com/2007/08/10/assigning-different-behaviors-on-click-doubleclick/ > > > ----- Original Message ---- > From: j_lentzz <[EMAIL PROTECTED]> > To: flexcoders@yahoogroups.com > Sent: Wednesday, January 23, 2008 1:21:23 PM > Subject: [flexcoders] How to handle itemClick and itemDoubleClick events on charts - need both > > Hi, > > I have a chart that I'd like to use both itemClick and itemDoubleClick > on. However, when a user double clicks, I don't want the itemClick > event functionality to also occur. Right now, when I double click, > the itemClick event fires, then the itemDoubleClick event. Is there a > good way to recognize that it is a doubleClick event and not let the > single click event take place? The only way I can think of is to use > a timer routine to provide a 'cool down' period on the single click, > to allow me to see if a double click event follows. For example, a > single click starts a 1/2 sec delay and if at the end of that delay, I > haven't received a double click event, then execute the single click > event code. Does anybody have a better way to handle this? I don't > like using a timing loop. > > Thanks, > > John > > > > > > ____________________________________________________________________________________ > Be a better friend, newshound, and > know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ >