The Ani(mation)S applet

Page 8 - Using file_of_filenames

8. Reading the names of your image files from another file. This example is identical to second part of example #4 except that the image filenames are all taken from a "file_of_filenames".

Recall that in example #4, the file descriptors looked like:

<PARAM name="overlay_filenames" value=" TSFC1.GIF & TSFC2.GIF & TSFC3.GIF & TSFC4.GIF, TSTR1.GIF, TMAP.GIF"> <PARAM name="filenames" value="TIR1.GIF, TIR2.GIF , TIR3.GIF, TIR4.GIF"> For the example shown below, the only PARAMeter needed is: <param name="file_of_filenames" value="fnamelist.txt"> The file fnamelist.txt contains: #this is a comment TIR1.GIF overlay = TSFC1.GIF, TSTR1.GIF, TMAP.GIF #another comment -- note you must explicity define each file on each frame! TIR2.GIF overlay= TSFC2.GIF, TSTR1.GIF, TMAP.GIF TIR3.GIF overlay=TSFC3.GIF, TSTR1.GIF, TMAP.GIF TIR4.GIF overlay =TSFC4.GIF, TSTR1.GIF, TMAP.GIF (The spacing is shown only to illustrate the flexibility available.)

Here's the applet:


Go to the documentation page

If you would like more information, or have questions or suggestions, please contact Tom Whittaker