Transparent button


I know this is probably very basic, but I am quite new to this. I have imported a jpeg and converted to a button. I want the button to become transparent when the mouse rolls over. I know you can use alpha normally, but I do not seem to be able to use this function with my buttons.

Am I doing something wrong?

Any advice would be most welcome.

Thanks, Justin :hr:

make a movieclip out of the button and then use the alpha.

I see. So I have to convert the jpeg to a button , then convert the button to a movieclip?

Just convert the jpg to a mc, then onRollOver/onRollOut call your function


Just convert JPEG to MovieClip, and in AS for that symbol type

on (press)
*your code here

make your jpg into a movieclip and put this code ON the MC:

	onRollOver = function(){
		this._alpha = 0;
	onRollOut = function(){
		this._alpha = 100;

Thanks very much for your help. I really appreciate it!!