Hello Oskar,

I hope you didn't try to use el.tween() .. because that wouldn't work
for obvious reasons :P

What I meant, of course, was to use two instances of Fx.Tween, which
is the only way this can be done
... or you can use my animation library ;)


Regards
Rajeev J Sebastian

On Mon, Sep 29, 2008 at 5:04 AM, Oskar Krawczyk
<[EMAIL PROTECTED]> wrote:
>
> Ha! That would be too easy - what happens is, the first tween gets
> cancelled at the same moment when the second one starts its stuff.
>
> But thanks for trying Rajeev!
>
> Oskar
>
> On Sep 29, 12:01 am, "Rajeev J Sebastian" <[EMAIL PROTECTED]>
> wrote:
>> This is simple. Use two tweens; delay the opacity tween the appropriate time.
>>
>> Regards
>> Rajeev J Sebastian
>>
>> On Mon, Sep 29, 2008 at 4:07 AM, Oskar Krawczyk
>>
>> <[EMAIL PROTECTED]> wrote:
>>
>> > Hi folks,
>>
>> > I'm kind of struggling with one idea I have but can't find a solution
>> > to make it work. Basically, I have an animation which does two
>> > things:
>>
>> > - resizing a div
>> > - changing the opaque mode
>>
>> > Now the code for doing that couldn't be more straightforward:
>>
>> > curtain.morph({
>> >    width: 600,
>> >    opacity: 0.5
>> > });
>>
>> > What I need here is for the *opacity* animation to fire with a delay -
>> > let's say in 1/2 of the actual *width* animation.
>>
>> > Is there a way of achieving this?
>>
>> > Best,
>> > Oskar
>

Reply via email to