REM: Animation script demo: Happy Holidays from Canada Mail REM: REM: Step 1 plays christmas music. REM: Steps 2 to 13 wave hand. REM: Steps 14 to 16 drops snow. REM: Steps 17 to 19 finalize with message. REM: REM: General command syntax: REM: REM: step#:command-name:parameter REM: REM: Available commands: REM: sleep:milliseconds will sleep for "milliseconds" before going to next step. REM: REM: show-image:index will show image "index" (image file name is made up REM: of "image prefix" + "index" + "image suffix". REM: REM: play-music:index will play music "index" once (music file name is made up REM: of "music prefix" + "index" + ".mid". REM: REM: loop-music:index will play music "index" in loop (music file name is made up REM: of "music prefix" + "index" + ".mid". REM: REM: play-sound:index will play sound "index" once (sound file name is made up REM: of "sound prefix" + "index" + ".au". REM: REM: loop-sound:index will play sound "index" in loop (sound file name is made up REM: of "sound prefix" + "index" + ".au". REM: REM: goto:step# will go to animation step "step#". REM: REM: Other mandatory lines: REM: REM: steps:numberOfSteps tells the applet how many steps are in the script. REM: REM: See HTML code for more parameters. REM: 1:play-music:1 2:show-image:1 3:sleep:1000 4:show-image:2 5:sleep:1000 6:show-image:1 7:sleep:1000 8:show-image:2 9:sleep:1000 10:show-image:1 11:sleep:1000 12:show-image:2 13:sleep:1000 14:play-sound:1 15:show-image:3 16:sleep:3000 17:play-sound:2 18:show-image:4 19:sleep:10000 20:goto:1 steps:20