I have a few buttons that i want actionscript on for fading in when the scene starts, does any1 know if theres some actionscript code for this? thanks x
Printable View
I have a few buttons that i want actionscript on for fading in when the scene starts, does any1 know if theres some actionscript code for this? thanks x
I don't have access to flash right now, so I'm writing from memory, but I think this code should work:
try it...tell me if it doesn't work.Code:if(myButton.alpha<100){
myButton.alpha +=1;
}
oops...I think those should be _alpha
also, set the alpha of the button to 0 beforehand, or else the code won't do anything.
thanks for the help zippy, but it didn't work sob sob :(