You need to maintain the format of the code, the only thing you change are the images (highlighted):
Code:
fall.image0=new Image();
fall.image0.src=fall.grphcs[0]="al.gif"
fall.image1=new Image();
fall.image1.src=fall.grphcs[1]="bl.gif"
fall.image2=new Image();
fall.image2.src=fall.grphcs[2]="cl.gif"
fall.image3=new Image();
fall.image3.src=fall.grphcs[3]="dl.gif"
fall.image4=new Image();
fall.image4.src=fall.grphcs[4]="el.gif"
fall.image5=new Image();
fall.image5.src=fall.grphcs[5]="fl.gif"
You don't need to have so many of them, but you have to number them from 0. So, if you only have three, it would be:
Code:
fall.image0=new Image();
fall.image0.src=fall.grphcs[0]="al.gif"
fall.image1=new Image();
fall.image1.src=fall.grphcs[1]="bl.gif"
fall.image2=new Image();
fall.image2.src=fall.grphcs[2]="cl.gif"
You can use just one image, then it would be:
Code:
fall.image0=new Image();
fall.image0.src=fall.grphcs[0]="al.gif"
Or using your image:
Code:
fall.image0=new Image();
fall.image0.src=fall.grphcs[0]="snow.gif"
The current code has six images numbered 0 to 5. If you want more just add the next one numbered as 6, then the next as 7, and so on, however many you may want.
Bookmarks