Hello all, n00b here with a question. I’m having trouble with fading a image in, then have it fade out. All I can accomplish is the fade in with out the fade out, or vice versa. Any help would be nice. Thanks!
Hello, n00b
Hehe, sorry…couldn’t resist
Well… here’s a Kirupa tutorial about fading in and out. It’s for text, though, but ought to work the same way!
http://www.kirupa.com/developer/mx/fadingtext.htm
If you can’t get it work…then attach your .fla here and I guess someone is kind enough to take a look at it. [size=1](I would, but I’m not using mx2004)
:rock:
[/size]
Hehehe thanks Zak. While you were post this, I had already found the tutorial, created my fade, and was about to post here. lol Thanks though!
Haha, good that you got it worked out! :thumb:
there is a totally easy way to make fading, create a mc with what you want to fade in and out, on it select Actions and write (or copy/paste ;))
onClipEvent(load){
fadespeed=10;
}
onClipEvent(enterFrame){
this._alpha+=fadespeed;
if(this._alpha>=100||this._alpha<=0)fadespeed*=-1;
}
note: play with the fadespeed variable…