git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added MD5 support.
[swftools.git]
/
doc
/
fileformat.sc
diff --git
a/doc/fileformat.sc
b/doc/fileformat.sc
index
779fa68
..
c6104d0
100644
(file)
--- a/
doc/fileformat.sc
+++ b/
doc/fileformat.sc
@@
-1,6
+1,6
@@
# ==================================================================================
#
# ==================================================================================
#
-# File format specification (well, sort of)
+# swfc(1) File format specification (well, sort of)
# Version: 0.1
#
# ==================================================================================
# Version: 0.1
#
# ==================================================================================
@@
-51,6
+51,15
@@
.texture text1=background scale=50% rotate=45
.texture text1=background scale=50% rotate=45
+# define a gradient
+# -----------------
+
+#.gradient mygradient:
+# 0.000 0 0 0
+# 0.500 255 255 255
+# 1.000 0 0 0
+#.end
+
# load several pages:
# -------------------
# load several pages:
# -------------------
@@
-694,6
+703,10
@@
.end
.end
+# fonts.sc
+#
+# fonts&text
+
.swf name="fonts.swf"
.font courier "Courier.swf"
.font helvetica "Helvetica.swf"
.swf name="fonts.swf"
.font courier "Courier.swf"
.font helvetica "Helvetica.swf"
@@
-748,3
+761,20
@@
.change t9 alpha=0% shear=-0
.end
.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
+