+# sound.sc
+#
+# Sound effects
+
+.flash 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
+
+
+# outline.sc
+#
+# Outlines /Fillings
+
+.flash name="outline.swf"
+
+ .outline box:
+ moveTo 0,0
+ lineTo 100,0
+ lineTo 100,100
+ lineTo 0,100
+ lineTo 0,0
+ .end
+
+ .font arial "Arial.swf"
+
+ .textshape abc font="arial" text="Hello World"
+
+# .gradient bluegreen:
+# 0% blue
+# 50% green
+# 100% red
+# .end
+
+ .filled fabc outline=box fill=#ff6633 line=5 color=#7799ff
+ .filled fbox outline=abc fill=#ff6633 line=5 color=#7799ff
+
+ .put fabc
+ .put fbox y=200
+.end
+
+# gradients
+.flash name="gradient.swf"
+
+ .font arial "Arial.swf"
+ .textshape abc font="arial" text="Hello World"
+
+ .gradient bluegreen:
+ 0% blue
+ 50% green
+ 100% red
+ .end
+
+ .gradient sunshine radial:
+ 0% white
+ 50% yellow
+ 100% red
+ .end
+
+ .filled fbox outline=abc fill=bluegreen line=1 color=#7799ff
+ .filled fbox2 outline=abc fill=sunshine line=1 color=#7799ff
+
+ .put fbox
+ .put fbox2 y=200
+.end
+
+# actions
+.flash name="action.swf"
+
+ .box mybox width=100 height=100 fill=green
+
+ .action:
+ {
+ _root.stop();
+ }
+ .end
+
+.end
+