All pastes #405480 Raw Edit

Someone

public text v1 · immutable
·published 2007-03-21 19:42 UTC
rendered paste body
import mx.transitions.Tween;
import mx.transitions.easing.*;

fscommand ("allowscale", false );
stop();

// Buttons: New Log, Calendar View, Views(open, pending close, all, manager), 
//          Active Que, Admin, Contact Us

function fade(mc:MovieClip, begin:Number, finish:Number, duration:Number) {
	var fade:Tween = new Tween(mc, "_alpha", none, begin, finish, duration, true);
	if (mc == globe) {
		fade["onMotionFinished"] = function() {
			var pulse:Tween = new Tween(mc, "_alpha", none, finish, finish-15, 1, true);
			pulse["onMotionFinished"] = function() {
				this.yoyo();
			}
		}
	}
}

function rotate(mc:MovieClip, begin:Number, finish:Number, duration:Number) {
	var rotate:Tween  = new  Tween(mc, "_rotation", Elastic.easeOut, begin, finish, duration, true);
}

fade(topWave, 0, 30, 3);
fade(botWave, 0, 30, 3);
fade(globe, 0, 30, 10);
fade(title, 0, 100, 20);

rotate(topWave, 180, 0, 2);
rotate(botWave, 0, 180, 2);