Hi, i know next to nothing about actionscript and need help.
I have button the dissappears when i click it, but instead of disapearing straight away, i want it to fade out first. Whats the script for this? can anyone help please?
Hi, i know next to nothing about actionscript and need help.
I have button the dissappears when i click it, but instead of disapearing straight away, i want it to fade out first. Whats the script for this? can anyone help please?
you’ll need to make your button a movie clip before you can fade it. Once you’ve done that place the clip on the stage and put this code into it:
on frame1:
this.onEnterFrame = function() {
if(Fade) {
_alpha -= 5;
if(_alpha <= 0) {
Fade = false;
}
}
}
and this in the button:
on(release) {
Fade = true;
}
hope this helps
great! cheers mate, thats a big help. You’ve made me one very happy flasher =)
:: Copyright KIRUPA 2024 //--