Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.

 

senocular.com ActionScript Library

refreshMovie.as

Name: refreshMovie - Reloads the current movie in the Flash player
Author: senocular: www.senocular.com
Date: 1899-12-31T00:32:38.700
Documentation:
simple function which simply reloads the movie ;)


refreshMovie();

Example:
my_btn.onPress(){
 refreshMovie();
}

1
2
3
4
5
6
7
8
// Flash 5
MovieClip.prototype.refreshMovie = function(){
	loadMovieNum(_url,0);
}
// Flash MX
_global.refreshMovie = function(){
	loadMovieNum(_url,0);
}