# Question about fading grid tutorial

**URL:** <https://forum.kirupa.com/t/question-about-fading-grid-tutorial/169210>\
**Category:** flash\
**Created:** [November 14, 2005, 2:36pm UTC](https://forum.kirupa.com/t/question-about-fading-grid-tutorial/169210 "2005-11-14T14:36:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gallion311](https://avatars.discourse-cdn.com/v4/letter/g/d9b06d/32.png) [@gallion311](https://forum.kirupa.com/u/gallion311)\
**Post date:** [November 14, 2005, 2:36pm UTC](https://forum.kirupa.com/t/question-about-fading-grid-tutorial/169210/1 "2005-11-14T14:36:11Z")

</div>

Whats up guys, I’m working on that fading grid effect, and I’m stuck.

[http://www.kirupa.com/developer/mx/fadegrid.htm](http://www.kirupa.com/developer/mx/fadegrid.htm)

I have the effect completed, but using an arbitrary number that doesn’t produce an perfect grid.

In the tutorial he says that you have to find a number that is evenly divisble by the width and height of your pic…but the pics I’m using are already at a fixed size…and it’s tedious to use trial and error to try to find an exact number. I have an excel document with a trail and error based equation, but it’s not optimal, and I have yet to produce a perfect grid, although I’ve gotten close. Has anyone figured out how to get this magic number…is there an equation I’m missing?

thanks,  
Ryan
