Within my program, users click on thumbnail icons to open audios. This creates puppet sprites and takes the play-head to a different frame where an audio begins playing automatically and a transcript, play, rewind, pause, ffwd and "Close Audio" buttons are available. On clicking the "Close Audio" button, the puppet sprites are set to false and the play-head returns to the frame it had been at when the thumbnail was originally clicked (gReturnFrame). The problem is that one of the thumbnail icons is positioned in roughly the same place as the "Close Audio" button (neither can be moved), and if the user happens to double-click the "Close Audio" button, the second click automatically registers on the thumbnail icon at the return frame and that audio starts playing.
Have you tried something like this:
on mouseUp me
if the doubleClick then
nothing
else
-- do whatever you normally do with a single click
end if
end...?
Warren Ockrassa | President, nightwares LLC [EMAIL PROTECTED] nightwares LLC | Consulting Programming http://www.nightwares.com/ Author | Director 8.5 Shockwave Studio: A Beginner's Guide Chapter samples | http://www.nightwares.com/director_beginners_guide/
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
