# Fading Grid AS not working for me

**URL:** https://forum.kirupa.com/t/fading-grid-as-not-working-for-me/57361
**Category:** flash
**Created:** [July 12, 2004, 6:06pm UTC](https://forum.kirupa.com/t/fading-grid-as-not-working-for-me/57361 "2004-07-12T18:06:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![gavinl](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gavinl](https://forum.kirupa.com/u/gavinl)
#### Post date: [July 12, 2004, 6:06pm UTC](https://forum.kirupa.com/t/fading-grid-as-not-working-for-me/57361/1 "2004-07-12T18:06:26Z")

</div>

Noob here 🥚, 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 😏

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 13, 2004, 7:23am UTC](https://forum.kirupa.com/t/fading-grid-as-not-working-for-me/57361/2 "2004-07-13T07:23:48Z")

</div>

Add this line at the end of your script

fadeOut(0,10);

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 13, 2004, 1:23pm UTC](https://forum.kirupa.com/t/fading-grid-as-not-working-for-me/57361/3 "2004-07-13T13:23:38Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 13, 2004, 2:02pm UTC](https://forum.kirupa.com/t/fading-grid-as-not-working-for-me/57361/4 "2004-07-13T14:02:18Z")

</div>

You also missed the continueFade function.

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

```

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 13, 2004, 2:10pm UTC](https://forum.kirupa.com/t/fading-grid-as-not-working-for-me/57361/5 "2004-07-13T14:10:40Z")

</div>

It works! Thanks all for helping me with the code 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 13, 2004, 2:17pm UTC](https://forum.kirupa.com/t/fading-grid-as-not-working-for-me/57361/6 "2004-07-13T14:17:03Z")

</div>

Anytime gavinl 😉  
And welcome to the forums!
