>Does anyone know of a way to make a button that will jump to a certain frame
>or marker after the user has pressed it down and held it for a set period of
>time?
Are you using Director 8? A timeout object would be the answer if you are.
Off the top of my head, an untested sprite behavior:
property pStillDown
on beginSprite me
pStillDown = FALSE
end beginSprite
on keyDown
if NOT pStillDown then
pStillDown = TRUE
timeoutList("myTimer").forget
timeout("myTimer").new(5000, #myHandler)
end if
end keyDown
on keyUp
pStillDown = FALSE
end keyUp
on myHandler
go marker "myMarker"
timeoutList("myTimer").forget
end
Might need some tweaking, but that's the basic idea.
Cordially,
Kerry Thompson
Learning Network
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]