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