/ Published in: ActionScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Fuse listener import com.mosesSupposes.fuse.*; ZigoEngine.simpleSetup(Shortcuts,PennerEasing,Fuse,FuseFMP); var myListenerObj:Object = new Object(); myListenerObj.onComplete = function(theFuse:Object) { trace(theFuse.target.label); //this.removeMovieClip(); } var f:Fuse = Fuse.open(); f.addEventListener("onComplete", myListenerObj); f.label="foo"; f.autoClear=false; box.alphaTo(0,1,"linear"); Fuse.closeAndStart(); //var myFoo:Fuse = Fuse.getInstance("foo"); //myFoo.start();