vendredi 21 avril 2017

Fading an object in as3

I'm relatively new to as3 and am rewriting a game I have previously written in another language in it. In the intro animation, that leads up to the menu, there is lots of images fading in and out. I know how to make an object transparent using the .alpha, but seem to be struggling to get it to fade back in. I have the image starting off faded out, then I want it to fade in gradually over the course of about .1 of a second, stay there for 4 seconds then fade out.... Thanks.

Aucun commentaire:

Enregistrer un commentaire