Thanks for the suggestion and I look forward to Mootools v2.0

On Jul 10, 1:07 am, anutron <[email protected]> wrote:
> This kinda sucks because with MooTools 2.0 this would be easier (or at least
> work better) because all animations share the same timer.
> The only way to do this is to have two instances of Fx.Tween or Fx.Morph and
> to set their durations relative to their sizes. So if one is going to 50px
> and the other to 100px, you'd set the duration for the second one to be
> twice as long as the first. This may not run smoothly in MooTools 1.*
>
> On Thu, Jul 9, 2009 at 4:38 PM, 4fingers (via Nabble) <
> [email protected]<ml-user%[email protected]>
>
>
>
> > wrote:
>
> > Hi,
>
> > I am wanting to find out if there is a way to tween two elements at
> > the same speed given that they are different sizes.
>
> > Since the speed depends on the size of the tween I am finding it hard
> > to have one element tween from 0px to 100px then on completion have
> > another element tween from 0px to 50px at the same speed.
>
> > Is there any other way I can control the speed of the tween apart from
> > simply giving it a duration. If not the only idea I have is to set up
> > some algorithm that given the size and speed for one element I could
> > maybe determine the speed required for another element given its
> > size.
>
> > I am not even sure if that algorithm is possible so any ideas would be
> > great.
>
> > Thanks
>
> > ------------------------------
> >  View message @
> >http://n2.nabble.com/-Moo--Tween-two-different-elements-at-the-same-s...
> > To start a new topic under MooTools Users, email
> > [email protected]<ml-node%[email protected]>
> > To unsubscribe from MooTools Users, click here< (link removed) >.
>
> -----
> The MooTools Tutorial:  http://www.mootorial.comwww.mootorial.com
> Clientcide:  http://www.clientcide.comwww.clientcide.com
> --
> View this message in 
> context:http://n2.nabble.com/-Moo--Tween-two-different-elements-at-the-same-s...
> Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to