Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Double Click |
From: | Marcelo Siqueira |
Date: | Mon, 31 Jul 2000 20:11:29 +0100 |
from the book "Flash 4 Magic"
On (Press)
If (FirstClick > 0)
Set Variable: "SecondClick" = GetTimer
Else
Set Variable: "FirstClick" = GetTimer
End If
If ((SecondClick > 0) and (SecondClick - FirstClick < 500))
"call your movieclip"
Else If ((SecondClick > 0) and (SecondClick - FirstClick > 500))
Set Variable: "FirstClick" = 0
Set Variable: "SecondClick" = 0
End If
End On
On (Drag Over, Drag Out)
Start Drag ("")
Set Variable: "FirstClick" = 0
Set Variable: "SecondClick" = 0
End On
On (Release, Release Outside)
Stop Drag
End On
[ ]'s
--------------------------------------------------------------
marcelo siqueira | criacao | agenciaclick
--------------------------------------------------------------
----- Original Message -----
From: Jester <jesterboy2home [dot] com>
To: <flasherchinwag [dot] com>
Sent: Sunday, July 30, 2000 9:43 AM
Subject: FLASH: Double Click
> Hey everyone,
> I was wondering if any of you have been able to figure out a way to do a
> double click on a button? I have an icon that is a button, nested in a
movie
> clip. I can get the icon to drag anywhere I want to but I also need to
> assign an action to the button so it calls a movie clip. I don't want the
> button to launch the movie clip when I drag it only when I click on it.
Any
> ideas would be grateful.
>
> Jester
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Full flasher archive now available online at:
> http://www.chinwag.com/flasher/archive.shtml
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpchinwag [dot] com
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Flash 5, Krista McLean
FLASH: Double Click, Jester
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]