<APPLET code=fliplay.class width=320 height=200>
<PARAM name=File value=fishix.fli>
<PARAM name=Speed value=30>
<PARAM name=Loops value=10>
<PARAM name=End value=-1>
</APPLET>
The width and the height values have to correspond with the size of the fli/flc-animation. The parameter "File" points to the fli/flc-animation. The best way is to keep all files together in one directory. The two class files, the fli/flc-file and the html file. Only the "File" parameter is obligatory. The following table explains the function of the other parameters:
| Parameter | Default value | Alternative values | Function |
|---|---|---|---|
| Speed | 100 | Positive integer | Delay time between frames in milliseconds |
| Loops | -1 | Positive integer | Number of loops to be played (-1 = infinite) |
| End | 0 | Integer | Number of frame, which is displayed when the animation stops after N loops. Negative number means counted backwards from the end of the fli/flc-animation. |
| Auto | no | yes | If "yes", the auto-reverse (Ping-Pong) play is enabled. |
| Reverse | no | yes | If "yes", the animation is played backwards. |
| ClickPanel | yes | no | If "yes", a control panel occurs when the animation is stopped by mouse click. |
| Keyboard | yes | no | If "yes", then the animation can be controlled interactively by the keyboard. |
| Block | 64 | Positive integer | Defines the block height for the internally used patch blocks.
A smaller value may save memory but can slow down the animation. |
| Box | no | yes | If "yes", then internally used boxes are marked and displayed. This is mainly for control purposes and disturbs the original images. |
| Debug | no | yes | If "yes", a lot of internal information is written to the Java console. |
| TextColor | white | black, red | Color of the text. During loading the
first frame is displayed and the number of the currently loaded frame is written in the lower left corner using the specified color. |
| PanelColor | 0 | 1,2,3 | Set the color style for the panel, which appears when the animation is stopped by mouse click. |
| (v1.1b) | |||
| MinDelay | 30 | Positive integer | Minimum delay time in milliseconds |
| MaxDelay | 10000 | Positive integer | Maximum delay time in milliseconds |
| ZipFile | no | yes | If "yes", the input file is a ZIP file, which contains as first entry the FLI/FLC file |