Drop this on a frame and it will loop for the defined number of seconds and then go to the chosen marker.
--Copyright 2000 Chuck Neal
--chuck@mediamacros.com
--If you find this code helpful, send me an e-mail and let me know. :-)
property theTime, howLong, goWhere
on getPropertyDescriptionList me
p_list = [:]
p_list.addProp(#howLong, [#format : #float, #default : 2, #comment : "How long in seconds to wait:"])
p_list.addProp(#goWhere, [#format : #marker, #default : #next, #comment : "What marker to go to after time has elapsed:"])
return p_list
end
on exitFrame me
if theTime = void then
theTime = the timer + (howLong * 60)
go the frame
else
if the timer < theTime then
go the frame
else
go goWhere
end if
end if
end
on getBehaviorDescription me
return "Place this on a frame script and assign it a number of seconds and a marker. It will loop on that frame until the time is up and then jump to the specified marker."
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA