Hi Mauricio,

I don't know, I don't use mx packages anymore for Flash 8 development :P

I'm sure somebody else will answer your question, but I'd like to suggest
you some other (better) libraries for dealing with tweens on AVM1:

* Fuse (incredible timeline-like tweening engine, uses the excellent
ZigoEngine, it's the one I currently use)
* PixLib (this thing is full of gems and the tween engine is only one facet
of it)
* AnimationPackage (nice for complex drawing through code and shape-tweens).

Good luck,

Marcelo.

On 1/3/07, Mauricio Furtado Massaia <[EMAIL PROTECTED]> wrote:

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

Reply via email to