scripty2 icon indicating copy to clipboard operation
scripty2 copied to clipboard

S2.FX.Parallel fail to implement options

Open rumble opened this issue 14 years ago • 0 comments

The documentation on this page http://scripty2.com/doc/scripty2%20fx/s2/fx/parallel.html suggests that effects within a parallel can have individual delay and duration properties.

In the example shown you would expect the first effect to run for 0.9 seconds after a delay of 0.1 second and the second effect to run for 0.75 seconds after a delay of 0.25 seconds.

Running the code results in both effects running for a duration of 1 second with no delay on either.

Also worth noting that the individual 'after' functions from each effect also fail to run.

Is this a bug in the implementation of S2.FX.Parallel, or a bug in the documentation. If it is a bug in the documentation, then could this parallel be extended to use these options?

Thanks.

rumble avatar Dec 22 '10 17:12 rumble