PDA

View Full Version : Autumn Leaves - limit looping



Mardi Coleman
11-04-2004, 09:39 PM
Special Document Effects/Autumn Leaves
www.dynamicdrive.com/dynamicindex3/leaves.htm

Is there a way to limit the iterations or duration of play for this document effect? I've tried to "play" with the Cstep[i]+=Step[i]; line (6th line from bottom) and I can get it to "freeze", but ideally, I'd like it to run for one to two minutes MAX, then stop with no leaf images remaining on the screen.

By the way, this script works GREAT when using animated GIFs. I got it to "rain" turkeys being chased by pilgrims but I don't want it to run infinitely.

Thanks for your help!

Mardi (aka HappyKamper)