Posted By

Bonky on 01/24/08


Tagged

event flash listener Fuse fusekit onComplete


Versions (?)

Fuse Listener Event


 / Published in: ActionScript
 

  1. //Fuse listener
  2. import com.mosesSupposes.fuse.*;
  3. ZigoEngine.simpleSetup(Shortcuts,PennerEasing,Fuse,FuseFMP);
  4.  
  5. var myListenerObj:Object = new Object();
  6. myListenerObj.onComplete = function(theFuse:Object) {
  7. trace(theFuse.target.label);
  8. //this.removeMovieClip();
  9.  
  10. }
  11.  
  12. var f:Fuse = Fuse.open();
  13. f.addEventListener("onComplete", myListenerObj);
  14. f.label="foo";
  15. f.autoClear=false;
  16.  
  17. box.alphaTo(0,1,"linear");
  18.  
  19. Fuse.closeAndStart();
  20.  
  21. //var myFoo:Fuse = Fuse.getInstance("foo");
  22. //myFoo.start();

Report this snippet  

You need to login to post a comment.