All pastes #439476 Raw Edit

Something

public text v1 · immutable
·published 2007-04-14 08:48 UTC
rendered paste body
function mouseactions() {
	for ( var i = 1; i < 7; i++ ) {
		
		var the_mc = this[ "cover00" + i ];
		the_mc.num = i;
                var slidetime2 = 0.15;
		var offset = 10;
		//var currentmovie = [ "cover00"+i+".swf"];
		
		the_mc.onRollOver = function(){
			this.slideTo( "0", yfinish - offset, slidetime2, "easeOutBack");
			this.alphaTo( 100, .25, "");
			this.scaleTo( 105, .25, "")
		}

		the_mc.onRollOut = function(){
			this.slideTo( "0", yfinish, slidetime2, "easeInBack");
			this.alphaTo( original_alpha, .15, "");
			this.scaleTo( 100, .25, "")
		}
	
		the_mc.onPress = function() {
			this.scaleTo( 105, .25, "")
		}
	
		the_mc.onRelease = function() {
			//loadMovie( currentmovie, loadzone )
                        loadMovie("cover00"+this.num+".swf", loadzone);
			reset_buttons(this);
		}
	}
}

mouseactions();