Monday, February 12, 2007

Fuse

Ok, so I am starting to enjoy Fuse a little more. It's pretty cool how you can write out things at a single line and have them execute one by one. With MC Tween, I often have to use an external timer class or a delay to do such a simple task.

import com.mosesSupposes.fuse.*;
ZigoEngine.simpleSetup( Shortcuts, PennerEasing, Fuse );

eric_mc._alpha = 0;

Fuse.open();
eric_mc.alphaTo(100, 1, "easeInQuad");
eric_mc.slideTo("300", null, 2, "easeInOutQuint");
eric_mc.slideTo("-400", null, 2, "easeInOutQuint");
eric_mc.fadeOut();
eric_mc.alphaTo(100, 1, "easeInQuad");
eric_mc.scaleTo(500, 1, "easeInQuad");

Fuse.closeAndStart();

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home