Rotating buttons

Hi guys
Refer to the attached file
I was wondering why my buttons dont work. I managed to make the movieclip stop, but the buttons dont seem to work, any help would be appreciated.:hangover:

I tried searching the forums but none of it seemed to answer this question
thanks all:)

ok… here is what u are going to do. put an instance name of each of your buttons “but1”, “but2”, “but3”, “but4”, “but5”, “but6”. Then, insert a new layer and place this code:


this.onEnterFrame = function() {
	for (x=1; x<=6; x++) {
		this["but"+x].onRollOver = function() {
			_parent.stop();
		};
		this["but"+x].onRollOut = function() {
			_parent.play();
		};
	}
};

That’s it! It should work.

Hope it helps! :slight_smile:

OMG! Thanks so much rvanet your a legend (thumbsup) :slight_smile:

No problem! :thumb: