<HTML>
<HEAD>
<TITLE> Examples of the AniS applet </TITLE>
</HEAD>
<BODY>
<P>
<center><h1> The Ani(mation)S applet </h1>
Page 8 - Using file_of_filenames </center>
<p>

<b>8. Reading the names of your image files from another file.</b>  

This example is identical to second part of example #4 except that 
the image filenames are all taken from a "file_of_filenames".

<p>
Recall that in example #4, the file descriptors looked like:
<xmp>
<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">
</xmp>
For the example shown below, the only PARAMeter needed is:
<xmp>
<param name="file_of_filenames" value="fnamelist.txt">
</xmp>
The file <i>fnamelist.txt</i> contains:
<xmp>
#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

</xmp>

(The spacing is shown only to illustrate the flexibility
available.)
<p>
Here's the applet:
<br>
<APPLET code="AniS.class" width=500 height=480>
<PARAM name="controls" value="startstop, overlay">
<PARAM name="overlay_labels" value= "temperature,stream lines, map">
<param name="file_of_filenames" value="fnamelist.txt">
<param name=transparency value="x00000000">
</APPLET>
<hr>
<p>

<a href="anisdoc.html"> Go to the documentation page </a>
<p>
If you would like more information, or have questions or
suggestions, please contact <mailto:tomw@ssec.wisc.edu>Tom Whittaker

</BODY>
</HTML>
