Hi,
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:
system
December 24, 2003, 10:24am
2
make a movieclip out of the button and then use the alpha.
system
December 24, 2003, 10:32am
3
I see. So I have to convert the jpeg to a button , then convert the button to a movieclip?
system
December 24, 2003, 7:12pm
4
Just convert the jpg to a mc, then onRollOver/onRollOut call your function
scotty(-:
system
December 24, 2003, 9:46pm
5
Just convert JPEG to MovieClip, and in AS for that symbol type
on (press)
{
*your code here
}
system
December 24, 2003, 9:50pm
6
make your jpg into a movieclip and put this code ON the MC:
onClipEvent(load){
onRollOver = function(){
this._alpha = 0;
}
onRollOut = function(){
this._alpha = 100;
}
}
system
December 29, 2003, 10:02am
7
Thanks very much for your help. I really appreciate it!!