Movie contoler

i want them all to fade at the same time. All of those instances.

add following code to the timeline:


var movies = new Array("play","pause","ff","restart","mute","back");

than add below code to the button:


on (rollOver) {
	_root.onEnterFrame = function() {
		for (var movie in movies) {
			if (_root[movies[movie]]._alpha<100) {
				_root[movies[movie]]._alpha += 10;
			} else {
				delete _root.onEnterFrame;
			}
		}
	};
}
on (rollOut) {
	_root.onEnterFrame = function() {
		for (var movie in movies) {
			if (_root[movies[movie]]._alpha>0) {
				_root[movies[movie]]._alpha -= 10;
			} else {
				delete _root.onEnterFrame;
			}
		}
	};
}

example fla file atached :wink: :mu: :alien2:

ok that works really good but is there a way that i can make my buttons stay visible when im on the button with the code??? would reallly help