Skip to main content
Damon Edwards
Inspiring
October 15, 2006
Question

on rollover make image alpha 100%

  • October 15, 2006
  • 2 replies
  • 297 views
how would I do that. I have a button that when someone rolls over it, i want an image to become visable. mybutton.onRollOver = function() {

is what I have, i dont know actionscript very well. Flash 8 pro

thanks
This topic has been closed for replies.

2 replies

Damon Edwards
Inspiring
October 15, 2006
never mind, i got it
Damon Edwards
Inspiring
October 15, 2006
i thought i figured it out, but apparently not. Heres what i had
element_btn.onRollOver = function () {
element_mc._alpha = 100;
}
element_btn.onRollOut = function() {
element_mc._alpha = 0;
}
-------------------------------------------------
this is what i got

Statement must appear within on handler
element_btn.onRollOver = function () {

Statement must appear within on handler
element_btn.onRollOut = function() {