Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]

Subject: Re: FLASH: Double Click
Date: Sun, 30 Jul 2000 14:31:49 +0100

In a message dated 7/30/00 8:43:04 AM Eastern Daylight Time,
jesterboy2athome [dot] com writes:

<< 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.

you have to put some code in a MC. the first mouse click sets up a boolean
click1 = true and also sets a time stamp, time1. you need to set up an
amount of time that you want the second click to happen within, say half a
second(500ms). you create a loop. if the time exceeds 500 ms, the value of
click1 returns to false, set another variable click2 and it's time, time2.
If time2-time1 <= 500 click2=ture. if click1 and click2 then your double
click is ture.


Full flasher archive now available online at:
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]