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