added example for sound, start, stop.
[swftools.git] / doc / fileformat.sc
index a25c2a4..a345967 100644 (file)
     .change t9 alpha=0% shear=-0
 .end
 
+# sound.sc
+#
+# Sound effects
+
+.swf name="sound.swf" fps=25
+.sound loco "LocoStart.wav"
+.sound whistle "Whistle.wav"
+
+.frame 0
+    .play loco
+.frame 25
+    .stop loco
+    .play whistle loop=20
+.frame 200
+    .stop whistle
+.end
+