[Progression]DoTweenerでFilterShortcutsを試してみる
/**
* Copyright clockmaker ( http://wonderfl.net/user/clockmaker )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/n61y
*/
package {
import flash.display.Sprite;
import jp.progression.commands.*;
import caurina.transitions.properties.*;
public class FlashTest extends Sprite {
public function FlashTest() {
FilterShortcuts.init()
var sp:Sprite = new Sprite()
sp.graphics.beginFill(0)
sp.graphics.drawRect(0,0,100,100);
addChild(sp)
var com: SerialList = new SerialList()
com.addCommand(
new DoTweener(sp, {_Blur_blurX:32, x:200, time:5}),
new DoTweener(sp, {_Blur_blurX:0, x:0, time:5})
)
com.execute();
}
}
}