Re: Waiting For Completion

GLSmyth
2007-06-22T20:55:03Z

Sorry, I did look in the archives but didn''t find the answer, probably
because I didn''t know what keywords to use.


On Jun 22, 4:31 pm, Christophe Porteneuve
<t...-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org>
wrote:
> Hey George,
>
> Look, this has been answered a gazillion times.  I''ll reply below,
but
> in the future please be nice enough to search the list''s archives,
ok?
>
> Effects are indeed run in parallel, unsynchronized fashion by default.
> To chain them, the easiest way is to rely on an effect queue.  You can
> use the default, global queue when there''s no conflicting use of
it:
>
> Effect.BlindDown(''MyElement'', { duration: 0.5 });
> Effect.BlindUp(''MyElement'', { duration: 0.5, queue:
''end'' });
>
> The second call implicitly relies on the ''global'' queue,
with position
> ''end''.  That''ll chain your effects up properly.
Look at Scripty''s wiki
> for details, or just grab my book when it hits Beta1 (around July 1):
> effect queues are covered in detail ;-)
>
> --
> Christophe Porteneuve a.k.a. TDD
> "[They] did not know it was impossible, so they did it." --Mark
Twain
> Email: t...-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org