pic_place._alpha = 0; [COLOR=“Red”]<–(The picture is loaded into pic_place)-alpha = 0[/COLOR]
this.onEnterFrame = function() { [COLOR=“red”]it only adds 10 to alpha, how do I properly fade it in?[/COLOR]
if (pic_place._alpha<100) {
pic_place._alpha += 10;
}
}
if anyone is interested here is a way to do it:) :
pic.place._alpha = 0;
setInterval (fade, 500);[COLOR=“Red”](the function, every what period of time to recall the function)[/COLOR]
function fade() {
if (pic_place._alpha<100) {
pic_place._alpha += 10;
}
else {
clearInterval;
}
}