HELP! * GREY=local LOCAL HTML version of Foils prepared 29 January 1996

Foil 83 Details of Using the Sun animator Applet --I

From CPS616 Lectures on Java CPS616 Basic Information Track for Computational Science -- Winter-Spring Semester 96. by Geoffrey C. Fox * See also color IMAGE

1. Prepare a directory. and cd to this directory.
2. Copy Animator.class, ParseException.class, and ImageNotFoundException.class into your directory.
3. create a directory audio and put your audio file in it.
Your audio files can be called 0.au, 1.au, etc.
  • The background soundtrack could be any .au file.
4. create a directory images and put your image files in it.
  • your image files can be called T1.gif, T2.gif, etc.
  • the loading message can be called loading-msg.gif.
5. prepare a HTML page which has the following type of applet tag:
<applet code=Animator.class width=200 height=200>
<param name=imagesource value="images">
<param name=endimage value=10>
<param name=soundsource value="audio">
<param name=soundtrack value=spacemusic.au>
<param name=sounds value="1.au|2.au|3.au|4.au|5.au|6.au|7.au|8.au|9.au|0.au">
<param name=pause value=200>
</applet>



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Tue Feb 18 1997