# \[F8\]can some one please explain this to me?

**URL:** <https://forum.kirupa.com/t/f8-can-some-one-please-explain-this-to-me/216216>\
**Category:** flash\
**Created:** [February 14, 2007, 4:24pm UTC](https://forum.kirupa.com/t/f8-can-some-one-please-explain-this-to-me/216216 "2007-02-14T16:24:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![namelesspace](https://avatars.discourse-cdn.com/v4/letter/n/f4b2a3/32.png) [@namelesspace](https://forum.kirupa.com/u/namelesspace)\
**Post date:** [February 14, 2007, 4:24pm UTC](https://forum.kirupa.com/t/f8-can-some-one-please-explain-this-to-me/216216/1 "2007-02-14T16:24:01Z")

</div>

this is a thumbnail grid i get that much…i was able to customize the scale and rows and so on what i try to understand is where is :

i need the grid to start right to left - horizontally (it was vartically but i just swiched the lines: for (j=0;j\<row;j++){  
for (l=0;l\<col;l++){  
and it worked for some reason)

//////////////////////////////////////////////////////////////////////////////////  
MovieClip.prototype.grid\_maker\_01=function(f){  
num=0;  
col=3;  
row=5;  
scale=145;  
space=6;  
for (j=0;j\<row;j++){  
for (l=0;l\<col;l++){  
if(num\<\_global.total){  
with(eval(“this.thumbnail\_mc.th”+num)){  
\_x=((\_width+space)\*scale/100)\*l;  
\_y=((\_height+space)\*scale/100)\*j;  
\_xscale=\_yscale=scale;  
\_visible=true;  
}  
num++;  
}  
}  
}  
this.cascader();  
}

//////////////////////////////////////////////////////////////////////////////////

MovieClip.prototype.cascader=function(){  
inter=300;  
c=0;  
delayed\_fade=function(){  
if (c\<\_global.total){  
with(eval(“this.thumbnail\_mc.th”+c)){  
fadein();  
}  
c++;  
}else{  
main\_menu.boton\_reset.\_visible=true;  
clearInterval(delay);  
}  
}  
delay=setInterval(delayed\_fade,inter);  
}

///////////////////////////////////////////////////////////////////////////////

MovieClip.prototype.fadein=function(){  
this.onEnterFrame=function(){  
if (this.\_alpha\<100){  
this.\_alpha=this.\_alpha+5;  
}else{  
this.\_alpha=100;  
delete this.onEnterFrame;  
}  
}  
}

///////////////////////////////////////////////////////////////////////////////////////

thanx
