Oh yeah, any helpful links to a dictionary or some kind of glossary which will explain things like "filter", "filters", "style", "blendTrans", and "Image()", "Play()" and "Apply()"?
- Code: Select all
//this variable is redundant because I can just input the number 3
//into the appropriate place further down the page, unless
//the author was trying to make a distinction between the two
//kinds of duration regarding blendTrans. Why is it listed twice?
var Pic = new Array();
var j = 0;
var preLoad = new Array();
for(i=0;i < pic.length;i++)
preLoad[i]= new Image();
preLoad[i].src = Pic[i]
j = j+1;
//this is the real subject of my confusion.[/b]
//I could also write this part as if(j < (pic.length-5)) j=0 and the script will still work.
//I can see that it is good for j=0 to be false. When j=0 is true, the script does not work.
//I can see that pic.length is the number of pics in the array, but why is it
//necessary for j=0 to be false? Why is this stupid j=0 important!