Tutorials

The first animation

This is the html code for the applet below:
<APPLET code="Dotz.class" archive="dotz.jar" width=400 height=40>
<PARAM name="cabbase" value="dotz.cab">
<PARAM name="item0" value="Hello">
<PARAM name="item1" value="world">
<PARAM name="animation0" value="enter,top,<item0>,20:<item0>,20">
<PARAM name="animation1" value="morph,<item0>,<item1>,20">
<PARAM name="animation2" value="<item1>,20:leave,bottom,<item1>,20">
</APPLET>

This time two items are created, one with the text 'Hello' and one with 'world'. The animation consist of three parts. In the first part item0 is moved in from the top in 20 frames and then displayed for another 20 frames. These two actions are put into sequence by seperating them by a ':'. The next animation morphs item0 to item1, again in 20 frames. You should be able to understand the last animation by now. Another thing that becomes important now is that Dotz displays 30 frames per second.

IV - Parallel animations