Image FadeIn/Out problems

Hi All,

I am having a problem with getting an image to fade in/out through actionscript.

I’ve set up a movieclip which loads an image on enterframe.

Using the _alpha property of the movie clip i was able to get the fade in/out to work.

But after a minute or so the image goes away - i am new to actionscript and flash and any advice would be extremely helpful. Thank you.

The code which i am using is listed below:

imageclip._alpha=0;

fadeIn = function () {

       imageclip._alpha+=5;

};

this.onEnterFrame = fadeIn;