Thanks Piotr and Alex. It’ll be an interesting exercise to see if this can be 
made into  a strand. My issue with ParallelWithReverse is that Parallel already 
implements IEffect which has reverse(). What does that say about Parallel? Does 
it or does it not implement reverse()? If there were a way in AS3 to create an 
interface that extends multiple parents I would opt for having IEffect extends 
IReversible, IPausible, etc. and then creating classes that pick the interfaces 
they actually implement. As things stand, nothing seems like a clean 
implementation.



In a similar way, making Parallel a strand would probably mean that it doesn’t 
implement IEffect because we don’t know in advance whether it actually 
implements reverse(), pause(), etc.



From: Alex Harui<mailto:aha...@adobe.com>
Sent: Sunday, January 22, 2017 5:16 PM
To: dev@flex.apache.org<mailto:dev@flex.apache.org>
Subject: Re: [FlexJS] Parallel Effect




On 1/22/17, 5:05 AM, "piotrz" <piotrzarzyck...@gmail.com> wrote:

>Hi Yishay,
>
>Personally I'm always for as small class as we can. My +1 for
>ParallelWithReverse

I agree.

It might be worth considering making a subclass of Parallel that is a
Strand so the reverse, pause and stop can be beads.  Are there more than
one way to do reverse, stop, pause, like play non-linear tweens backwards
or just play the timeline backwards?

My 2 cents,
-Alex

Reply via email to