Button sample requested by Blastboy

Here’s the sample FLA you wanted me to put together for you Blastboy. Let me know if you have any questions.

Thank you.

But there is something else :-

When the mouse gos over the button it dont show the red color on the button.

No rollover effeckt ?

I whant it like when the mouse gos over it, it gos red, when mouse roll out it gos back to black , and when I press it, it stays red.

Blastboy, you need to learn how to experiment on your own before you ask a question.

Just add this script to each of those buttons for the rollover effects.

on (rollOver) {
	this.gotoAndStop(2);
}
on (rollOut) {
	this.gotoAndStop(1);
}

I did add this as but it did not work then I dotn know what was wronge. hmm well Thank you.

Works fine for me.

Oh Now I found whats wronge with it.

Thank you very much :slight_smile:

This is my code

on (release) {
this.gotoAndStop(2);
_root.button1.gotoAndStop(2);
_root.button2.gotoAndStop(1);
_root.button3.gotoandstop(1);
_root.button4.gotoandstop(1);
_root.button5.gotoandstop(1);
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}

Now the roll over effeckt works but when I press the button it dos not stay.

post you FLA, let me take a look.

shouldn’t it be on press, instead of on release then?

blah-de-blah :- I tryd it. Sorry it did not work :frowning:

Eg:- The file is too big; im fixing it now