[Tweener] using _bezier / following up on Tweener Digest 19, issue 6
Felix Sanchez
felixsanch at gmail.com
Mon Aug 4 06:57:34 PDT 2008
hi.
I was reading this, and had to test it.
so I downloaded the latest version of Tweener for AS3 (tweener_1_31_70_as3).
then I drew a rectangle on stage, instancenamed it obj_mc, and added the
following actionscript:
*//imports
import caurina.transitions.Tweener;
import caurina.transitions.properties.CurveModifiers;
CurveModifiers.init();
var myPath = new Array();
myPath.push({_x:120, _y:120});
myPath.push({_x:150, _y:150});
myPath.push({_x:450, _y:10});
myPath.push({_x:650, _y:280});
myPath.push({_x:750, _y:60});
Tweener.addTween(obj_mc, {x:50, y:50, _bezier:myPath, time:5,
transition:"linear"});*
but when testing the file, the rectangle just moves to the desired spot in a
straight line... what am I doing wrong?
thanks
felisan
--
------------------------------
http://felisan.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.caurinauebi.com/pipermail/tweener-caurinauebi.com/attachments/20080804/2e924220/attachment.htm>
More information about the Tweener
mailing list