Return to Snippet

Revision: 55052
at January 24, 2012 07:09 by earl


Initial Code
function fadeOff(b2:MovieClip):void {
	Tweener.addTween( b2, { alpha: .1,time: .35, transition: "easeOutQuad", onComplete:clipOff, onCompleteParams:[b2]});
}
function clipOff(b3:MovieClip):void {
	b3.visible=false;
}
function clipOn(c2:MovieClip):void {
	Tweener.addTween( c2, { alpha: 1,time: .5, delay:.1, transition: "easeOutQuad"});
}
function fadeOn(c3:MovieClip):void {
	c3.visible=true;
	clipOn(c3);
}

Initial URL

                                

Initial Description
this is a toggle for as3 using caurina

Initial Title
AS3 Fade Toggle

Initial Tags

                                

Initial Language
ActionScript 3