Fading Grid AS not working for me

Noob here :egg:, this a an awesome forum!

Running on FMX, I tried the tut with a single image but got a big white screen that does not move…I attached the fla of what I did.

Help appreciated :smirk:

Add this line at the end of your script

fadeOut(0,10);

Hi Allen,

I added the last line but still got the big white static box rather than a fading grid…anywhere else I missed in the code?

Thanks again

You also missed the continueFade function.

function continueFade(mc, speed) {
	mc.onEnterFrame = function() {
		this._alpha -= speed;
		if (this._alpha<=0) {
			delete this.onEnterFrame;
		}
	};
}

It works! Thanks all for helping me with the code :slight_smile:

Anytime gavinl :wink:
And welcome to the forums!