Drop this on a frame script and assign the time (in ticks 1 second = 60 ticks) and the marker to go to when the time is up.
--Copyright 1999 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know. :-)
property howLong, whereGo
global holdFrame
on exitFrame me
if holdFrame = the frame then
if the lastEvent < howLong or the timer < howLong then
go the frame
else
set holdFrame = 0
go whereGo
end if
else
set holdFrame = the frame
go the frame
startTimer
end if
end
on getPropertyDescriptionList me
set p_list = [:]
addProp p_list, #howLong , [#comment : "How long to hold before jump(in ticks):", #format : #float, #default : 2]
addProp p_list, #whereGo , [#comment : "Marker to jump to:", #format : #marker, #default : #next]
return p_list
end
on getBehaviorDescriptionList me
return "Drop this on a frame to hold for X number of ticks before going to the specified marker. If the user does not move the mouse or the time limit is passes the playback head will jump to that marker. This is very useful in Kiosks when you want to return to an attract loop movie if the machine is left unatended."
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA