In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

[Progression]DoTweenerでFilterShortcutsを試してみる

Get Adobe Flash player
by clockmaker 15 Mar 2009
/**
 * 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();
        }
    }
}