hmm this doesn't seem to work, the movie appears, but doesn't fade in...
I notice if I change the initial code line 2
img1_mc._alpha -= 5;
changing the 5 to a lower figure slows the speed of the fade out, however can't do the same thing with the fade in... (I wondered if it was fading so...
I've found this which works really well to fade out a movie clip... how could you change it to fade it in?
img1_mc.onEnterFrame = function() {
img1_mc._alpha -= 5;
if (img1_mc._alpha <= 0) {
img1_mc._visible = false;
delete img1_mc.onEnterFrame;
}
};
It feels like this should be simple...
Designing a menu for a website, and would like to fade out whatever is on the (body part of the) screen, go to the new frame (specified from the menu) and fade that in...
I could do it with motion tweens, but I'd have to work out each and every...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.