Progression用 DoTweenMax

名前から分かる通り、ProgressionのTweenMaxコマンドを作ってみました。

ダウンロードはこちら。
DoTweenMax.zip

TweenMax本体は含まれていないのでダウンロードして下さい。
mxpの作成も試みましたが、CS3では作れないようです。。。
動作は保証できないので、バグを発見された方は書き換えるなり他を探すなりコロスケなりしていただければと思います。

以下、使用例です。
普段TweenMaxを使っている方はすぐ分かるのではないかと。

DoTweenMaxTo使用例
import jp.progression.commands.Command;
import caurina.transitions.Equations;

var cmd:SerialList = new SerialList();
cmd.addCommand(
	//座標(100,100)へ1秒で移動
	new DoTweenMaxTo(target, 1, {
		x: 100,
		y: 100,
		ease: Equations.easeOutExpo
	})
);
cmd.excute();
DoTweenMaxFrom使用例
import jp.progression.commands.Command;
import caurina.transitions.Equations;

var cmd:SerialList = new SerialList();
cmd.addCommand(
	//座標(100,100)から1秒で今の位置へ移動
	new DoTweenMaxFrom(target, 1, {
		x: 100,
		y: 100,
		ease: Equations.easeOutExpo
	})
);
cmd.excute();
DoTweenMaxFromTo使用例
import jp.progression.commands.Command;
import caurina.transitions.Equations;

var cmd:SerialList = new SerialList();
cmd.addCommand(
	//座標(0,0)から(100,100)へ1秒で移動
	new DoTweenMaxFromTo(target, 1,
	{
		x: 0,
		y: 0
	},
	{
		x: 100,
		y: 100,
		ease: Equations.easeOutExpo
	})
);
cmd.excute();
DoTweenLiteTo使用例
import jp.progression.commands.Command;
import caurina.transitions.Equations;

var cmd:SerialList = new SerialList();
cmd.addCommand(
	//座標(100,100)へ1秒で移動
	new DoTweenLiteTo(target, 1, {
		x: 100,
		y: 100,
		ease: Equations.easeOutExpo
	})
);
cmd.excute();
DoTweenLiteFrom使用例
import jp.progression.commands.Command;
import caurina.transitions.Equations;

var cmd:SerialList = new SerialList();
cmd.addCommand(
	//座標(100,100)から1秒で今の位置へ移動
	new DoTweenLiteFrom(target, 1, {
		x: 100,
		y: 100,
		ease: Equations.easeOutExpo
	})
);
cmd.excute();