Friday, July 13, 2007
Fuze Kit1: PrinterForPay
////////////////////////////////////
// Flash Action Script
// by Kyungran Oh(petraoh@gmail.com)
////////////////////////////////////
import com.mosesSupposes.fuse.*;
// init the fuse engine
ZigoEngine.simpleSetup(Shortcuts,PennerEasing);
var callback:Object = {scope:this, func:"completeHandler"}
this.box1_mc.slideTo(400, 180, 2, "easeOutBounce", 2, callback);
this.onEnterFrame = function () {
if (this.money_paper3._x == -250){
this.printer._x = 200;
this.printer._y = 80;
this.ipod_pink_n._x = 200;
this.ipod_pink_n._y = 80;
this.ipod_pink_n._alpha= 50;
this.ipod_white._x = 200;
this.ipod_white._y = 80;
this.ipod_green._x =200;
this.ipod_green._y =80;
this.money_paper._x = 200;
this.money_paper._y = 100;
this.money_paper1._x = 200;
this.money_paper1._y = 100;
this.money_paper2._x = 200;
this.money_paper2._y = 100;
this.money_paper3._x = 200;
this.money_paper3._y = 100;
this.money_paper4._x = 200;
this.money_paper4._y = 100;
this.money_paper5._x = 200;
this.money_paper5._y = 100;
this.money_paper6._x = 200;
this.money_paper6._y = 100;
this.money_paper7._x = 200;
this.money_paper7._y = 100;
this.money_paper8._x = 200;
this.money_paper8._y = 100;
this.money_paper9._x = 200;
this.money_paper9._y = 100;
animation();
}
}
animation();
function animation () {
this.printer.slideTo(170,70,1,"easeOutBounce");
this.money_paper.slideTo(-250,150,5,"easeOutQuad");
this.money_paper1._alpha = 50;
this.money_paper1.slideTo(-270,10,5,"easeOutQuad");
this.money_paper1.scaleTo(100,1);
this.money_paper2._alpha = 20;
this.money_paper2.slideTo(-270,170,3,"linear");
this.money_paper2.scaleTo(150, 3);
this.money_paper3._alpha = 50;
this.money_paper3.slideTo(-250,20,5,"easeOutQuad");
this.money_paper3.scaleTo(140, 3)
this.money_paper4._alpha = 50;
this.money_paper4.slideTo(-270,50,5,"easeOutQuad");
this.money_paper4.alphaTo(100,30,"linear");
this.money_paper5._alpha = 70;
this.money_paper5.slideTo(-270,50,5,"easeOutQuad");
this.money_paper5.alphaTo(100,1,"linear");
this.money_paper6._alpha = 60;
this.money_paper6.slideTo(-250,200,6,"easeOutQuad");
this.money_paper7._alpha = 50;
this.money_paper7.slideTo(-270,10,5,"easeOutQuad");
this.money_paper8._alpha = 90;
this.money_paper8.slideTo(-270,70,6,"linear");
this.money_paper9._alpha = 70;
this.money_paper9.slideTo(-250,70,7,"easeOutQuad");
this.money_paper10._alpha = 60;
this.money_paper10.slideTo(-270,80,5,"easeOutQuad");
this.ipod_pink_n._alpha = 100;
this.ipod_pink_n.slideTo(-270,80,5,"easeOutQuad");
this.ipod_white._alpha = 100;
this.ipod_white.slideTo(-270,50,8,"easeOutQuad");
this.ipod_green._alpha = 100;
this.ipod_green.slideTo(-250,70,3,"easeOutQuad");
this.ipod_green.scaleTo(90, 3)
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment