Return to Snippet

Revision: 4870
at January 24, 2008 12:48 by Bonky


Updated Code
//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();

Revision: 4869
at January 24, 2008 12:48 by Bonky


Updated Code
//Fuse listener
import com.mosesSupposes.fuse.*;
ZigoEngine.simpleSetup(Shortcuts,PennerEasing,Fuse,FuseFMP);

var myListenerObj:Object = new Object();
myListenerObj.onComplete = function() {
	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();

Revision: 4868
at January 24, 2008 11:21 by Bonky


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

var myListenerObj:Object = new Object();
myListenerObj.onComplete = function() {
	trace("complete");
	//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();

Initial URL

                                

Initial Description

                                

Initial Title
Fuse Listener Event

Initial Tags
event, flash

Initial Language
ActionScript