// forked from northprint's code on 2008-12-17 // Progression ParallelList Test package { import flash.display.Sprite; import jp.progression.commands.*; [SWF(width=500, height=400, backgroundColor=0xFFFFFF, framelate=30)] public class Prog_test extends Sprite { public function Prog_test(){ var sprite:Sprite = new Sprite(); sprite.graphics.beginFill(0x000FF); sprite.graphics.drawCircle(0, 0, 50); sprite.graphics.endFill(); var pList:ParallelList = new ParallelList(); pList.addCommand( new AddChild(this,sprite), new DoTweener(sprite,{x:100,y:200,time:1}), new DoTweener(sprite,{x:200, y:350, time:1 } ), new DoTweener(sprite,{x:50, y:150, time:1,alpha:0.5 } ), new DoTweener(sprite,{x:300,y:250,time:1,alpha:1}) ); pList.execute(); } } } forked from: code on 2008-12-17