simply saying yes isn't amusing ¬¬
ondoubleclick / ondblclick is javascript..?
Page 1 of 1
Is there Actionscript for double-clicks, like onClick for single-clicks?
#2
Posted 02 March 2010 - 04:15 AM
Can you use this?
how would you place a function into this (& leave the single empty/ non-active), I'm trying to replicate this single-click action to a double-click:
Thanks thanks thanks.
on(release){
if(lastclick - (lastclick=getTimer()) + 500 > 0){
//do doubleclick action
trace("double");
} else {
//do singleclick action
trace("single");
}
}
how would you place a function into this (& leave the single empty/ non-active), I'm trying to replicate this single-click action to a double-click:
myBook.onClick = function( pageNumber, pageClip, isCornerClick ){
if( !isCornerClick ){
bookZoom();
}
}
Thanks thanks thanks.
#3
Posted 04 March 2010 - 10:42 PM
I tried things:
http://greenethumb.c...ck-event-in-as2
maybe if you've more experience - will use AS3 in future.
http://greenethumb.c...ck-event-in-as2
maybe if you've more experience - will use AS3 in future.
Share this topic:
Page 1 of 1
Help














