X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=doc%2Ffileformat.sc;h=c6104d0f621e71014b060f9ba5dce673a31e5848;hb=415286ee50b0c071ab8d1af162788805837ba53e;hp=779fa6876458049ec186b5f722f4bce56e598ddb;hpb=863160b762abe3fa57cd3120da883281e011d0be;p=swftools.git diff --git a/doc/fileformat.sc b/doc/fileformat.sc index 779fa68..c6104d0 100644 --- 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 # # ================================================================================== @@ -51,6 +51,15 @@ .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: # ------------------- @@ -694,6 +703,10 @@ .end +# fonts.sc +# +# fonts&text + .swf name="fonts.swf" .font courier "Courier.swf" .font helvetica "Helvetica.swf" @@ -748,3 +761,20 @@ .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 +