PDA

View Full Version : double click instead of single clicking a button


davydany
08-01-2006, 07:51 AM
i want to make a button draggable. to do this, i did this:
on (press) {
startDrag(this);
}
on (release) {
stopDrag();
}

but the same button is supposed to open a movie clip. i looked thru the options Flash MX 2004 Gives and it doesn't give "on(doubleClick) {COMMAND}".

any way of going around this?

thanx a lot in advanced!

Morg
08-01-2006, 08:24 AM
hmmm... All will be revealed to he who searches...

try these:
http://www.actionscript.org/forums/showthread.php3?t=110731&highlight=double+click

and alas... A TUTORIAL!!
http://www.actionscript.org/tutorials/advanced/advanced_double_click/index.shtml

Come on dude... search before posting ;)