controlls the playhead to go forwards or backwards. Can be used in connection with "StartFramesScript" + "MostFramesScript" + "EndFramesScript", which controlls the playhead with mouseposition, and uses the Slider as Indikator
on getBehaviorDescription me
return \
"sliderbuttonBehavior" & RETURN & RETURN & \
"Drop this behavior on the sliderbuttonSprite." & \
"Controlls the playhead to go forwards or backwards." & RETURN & RETURN & \
"the slider needs to be exactly (=(½ x the total number of framesToGo)-5)pixels wide." & RETURN & RETURN & \
"to prevent the button from going too far or too short." & RETURN & RETURN & \
"Not tested for compatibility with Java." & RETURN & RETURN & \
"PARAMETERS: None"
end getBehaviorDescription
on getBehaviorTooltip me
return \
"SpriteBehavior. " & \
"Drop on the sliderbuttonSprite" & \
"Controlls the playhead to go forwards or backwards." & \
"Not tested for compatibility with Java."
end getBehaviorTooltip
-- HISTORY --
-- 15. June 2001, written by Ulla Bensby, www.uebweb.dk as an assignment
-- for Kjell Yngve Petersen, www.boxiganga.dk. ....WARNING! don't work for him without written agreement!
-- Unfortunately, after I've been working (slaving, in fact) for him one whole month, full-time,
-- I asked for an extra 2,5$ fee pr. change of elements already made according to agreement,
-- and then he fired me without payment. What a shame, he seemed so nice!
-- Hopefully the behaviors can be usefull to someone else