News

Log In Sponsors
Partner Sites

Re: Naive newbie question about graphics in game script



Here's the code : function init(){ clearTimeout(id); for(i=0;i<=35;i++)user[i]=0; ticker=0; min=0; sec=0; ctr=0; finished=0; oktoclick=true; document.forms["f"].b.value="Resetting game table..."; scramble(); id=setInterval('runclk()', 995); for(i=0;i<=35;i++){ document.images[('img'+i)].src="image0.gif"; document.images[('img'+i)].alt="";}} http://gtscript.com/download-scripts...tion-5446.html ....apparently the graphics are "inside" the array loaded by the init function, though all I see resembling a graphic is src="image0.gif"; In fact, I'm not even sure where the array is in that code. I was hoping to carefully replace the graphic images in the array..... if I could find them. Should I just download the code to my laptop and see what gets sent along with the array? many thanks and apologies! mark G.

Click here to read the whole forum topic