yep, you're right.  As far as I can tell, mx.transitions.Tween has
event handlers that mx.effects.Tween doesn't implement:

        onMotionFinished
        onMotionLooped
        onMotionChanged
        onMotionStarted
        onMotionStopped
        onMotionResumed

mx.effects.Tween seems like it just has event handlers for
onTweenUpdate and onTweenEnd.  It's weird, I expected them to be
almost the same but by checking it out the code they're actually
pretty different, though they both look like they use some sort of
pennr-style tweening formula.




On 1/3/07, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
Hey Rich, thanks for the link, didn't know about this site (
actionscriptclasses.com).

However, I think I should give a quick note here: Mauricio's question wasn't
about better tweening classes but rather about the differences (if any)
between mx.transitions.tween and mx.effects.tween. I don't know as I don't
use them (never used btw).

Cheers,

Marcelo.

On 1/3/07, Rich Rodecker <[EMAIL PROTECTED]> wrote:
>
> there's also a nice list of tweening classes at
> http://www.actionscriptclasses.com/category/tween/
>
> On 1/3/07, Jack Doyle <[EMAIL PROTECTED]> wrote:
> > I use TweenLite on almost every project I work on, and have for the last
> > year or two. There are more full-featured tweening engines out there,
> but
> > TweenLite is very compact, fast, and much easier to use than the
> > mx.effects.Tween stuff (in my not-so-humble opinion). View some
> > documentation and Download it (along with a sample FLA) at:
> > http://www.greensock.com/ActionScript/TweenLite/
> >
> > Hope it helps.
> >
> > Jack
> >
> > -----------------ORIGINAL MESSAGE----------------------------------
> > Date: Wed, 3 Jan 2007 09:52:10 -0200
> > From: "Mauricio Furtado Massaia" <[EMAIL PROTECTED]>
> > Subject: [Flashcoders] What is better mx.transitions.Tween or
> >         mx.effects.Tween ?
> > To: "Flashcoders mailing list" <[email protected]>
> > Message-ID:
> >         <[EMAIL PROTECTED]>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > I always use mx.effects.Tween and i never use mx.transitions.Tween
> >
> > example :
> >
> > import mx.effects.Tween;
> > import mx.transitions.easing.*;
> >
> > this.createEmptyMovieClip( "mc" , this.getNextHighestDepth() );
> > mc.beginFill( 0x00 , 100 );
> > mc.lineTo( 10 , 0 );
> > mc.lineTo( 10 , 10 );
> > mc.lineTo( 0 , 10 );
> > mc.lineTo( 0 , 0 );
> > mc.endFill();
> >
> > function onTweenEnd( values:Array ):Void
> > {
> >     this.onTweenUpdate( values );
> > }
> > function onTweenUpdate( values:Array ):Void
> > {
> >     mc._x = values[0];
> >     mc._y = values[1];
> > }
> > var tw:Tween = new Tween( this , [0,0] , [ 250 , 100 ] , 1000 );
> > tw.easingEquation = Back.easeOut;
> >
> >
> > what Tween class is better?
> >
> >
> > thx
> >
> > MauricioMassaia
> >
> >
> >
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to