-
[F8] fade in actionscript for a button
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
-
var x:Number = 1; x /= 0;
I don't have access to flash right now, so I'm writing from memory, but I think this code should work:
Code:
if(myButton.alpha<100){
myButton.alpha +=1;
}
try it...tell me if it doesn't work.
-
var x:Number = 1; x /= 0;
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|