-# $Id: crossfade.rb 1 2005-03-26 01:32:38Z tilman $
+# $Id: crossfade.rb 24 2005-04-09 13:53:14Z tilman $
include Redact
p.signal = "mouse,clicked,1"
p.source = "background"
p.value = 1.0
- p.mode = SetStateProgram::MODE_ACCELERATE
+ p.mode = :accelerate
p.time = 1.0
p.targets << ProgramTarget.new(c.part("rect_red"))
p.targets << ProgramTarget.new(c.part("rect_green"))