/** * TestTweenerMain * @version 1.0.0 * @author jason m horwitz | sekati.com * Copyright (C) 2008 jason m horwitz, Sekat LLC. All Rights Reserved. * Released under the MIT License: http://www.opensource.org/licenses/mit-license.php */ package { import flash.display.Sprite; import caurina.transitions.Tweener; [SWF(width="1024", height="768", frameRate="31", backgroundColor="#FFFFFF")] /** * TestTweenerMain */ public class TestTweenerMain extends Sprite { public var box : Sprite; /** * TestTweenerMain Constructor */ public function TestTweenerMain() { box = new Sprite( ); box.graphics.beginFill( 0xff00ff ); box.graphics.drawCircle( 0, 0, 200 ); box.graphics.endFill( ); addChild( box ); Tweener.addTween( box, {x:500, y:500, time:1, transition:"easeOutExpo", delay:0.5 } ); } } }