Meteoric Stream - Original Apps & Music, Piano Instrumental, Children music, Hymns


Japanese | English
Meteoric Stream -> Documentation -> Javascript/ActionScript/HTML/FLASH -> [FLASH] How to wipe out screen with action script

[FLASH] How to wipe out screen with action script

The flash action script 2.0 sample code for wipe out screen.
Sample Code:
on(release){
	// Import libraries
	import mx.transitions.Tween;
	import mx.transitions.*;
	import mx.transitions.easing.*;

	// Initialize Transition Manager
	var tm:TransitionManager = new TransitionManager(_root);

	// Start wipe out
	tm.startTransition({type:Blinds, direction:Transition.OUT, duration:2, numStrips:64, dimension:1, easing:Strong.easeOut});	

	// Add Event Listener for wipe out done
	tm.addEventListener("allTransitionsOutDone", timerComplete); 
	allTransitionsOutDone = function(){
		_root._alpha = 0;
		// go to url when end of wipe out
		getURL("http://www.yahoo.co.jp");
	}
}

Lastupdated:2017/11/15
Wrote by:2009/03/03

Share this article

Related







Go To Documentation Top
Meteoric Stream -> Documentation -> Javascript/ActionScript/HTML/FLASH -> [FLASH] How to wipe out screen with action script
Go to Top