This topic has been discussed many times before. You've got two options:

1) onComplete (the thing you're doing right now)
2) using the Chain class–
http://mootools.net/docs/core/Class/Class.Extras#Chain

On Wed, Nov 25, 2009 at 3:28 PM, אריה גלזר <[email protected]> wrote:

> this is good for one Fx instance, but when  want to do different actions
> (not just effects) on various elements this isn't it. i atualy found the
> solution - i used the 'complete' even the Fx.Tween fires, which did the
> trick
>
> -----------
> אריה גלזר
> 052-5348-561
> 5561
>
>
> On Wed, Nov 25, 2009 at 13:02, Oskar Krawczyk <[email protected]>wrote:
>
>> http://mooshell.net/GcVZE/
>>
>>
>> On Wed, Nov 25, 2009 at 10:56 AM, אריה גלזר <[email protected]>wrote:
>>
>>> not sure i understand how to use it.
>>> myEl.tween('height',10).chain(function(){/*do something*/}) ?
>>>
>>> -----------
>>> אריה גלזר
>>> 052-5348-561
>>> 5561
>>>
>>>
>>> On Wed, Nov 25, 2009 at 12:39, Roman Land <[email protected]> wrote:
>>>
>>>> use chaining
>>>> http://mootools.net/docs/more/Class/Chain.Wait#Element:chains
>>>>
>>>>
>>>> On Wed, Nov 25, 2009 at 12:32 PM, אריה גלזר <[email protected]>wrote:
>>>>
>>>>> is there a way to lunch a function after a tween effect is finished?
>>>>> i'm running several effects that need to be ran one after the other and
>>>>> they keep overriding one another
>>>>> -----------
>>>>> אריה גלזר
>>>>> 052-5348-561
>>>>> 5561
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> ---
>>>> "Make everything as simple as possible, but not simpler."
>>>>
>>>> - Albert Einstein
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> ___
>>
>> Oskar Krawczyk
>> http://nouincolor.com
>>
>
>


-- 

___

Oskar Krawczyk
http://nouincolor.com

Reply via email to