swfc is command line based. You call it via
Let's create simple SWF file, shall we? The following script creates a red box with a yellow border. On the right side you see the script used, on the left side the swf file that is generated.
.flash name="box.swf"
.box b1 100 100 color=yellow fill=red
.put b1 pin=center scale=0%
.frame 100
.change b1 pin=center scale=100%
.frame 200
.change b1 pin=center scale=0%
.end
The
.flash name="text5.swf"
.font courier "Courier.swf"
.font helvetica "Helvetica.swf"
.text hithere text="HELLO" font=courier size=50% color=blue
.swf scene Scenery50.swf
.frame 0
.startclip hithere pin=center x=100 y=75 scale=50% #text clips...
.put scene # ...the image "scene"
.end
.frame 100
.change hithere rotate+=360 pin=center scale=100%
.end
.flash name="text6.swf"
.font courier "Courier.swf"
.font helvetica "Helvetica.swf"
.text hello text="HELLO" font=helvetica size=50% color=blue
.text world text="WORLD" font=helvetica size=50% color=red
.frame 0
.put hello pin=center x=50 y=50
.put world pin=center x=50 y=50 alpha=25%
.frame 200
.change hello rotate+=360 pin=center alpha=25%
.change world rotate-=360 pin=center alpha=100%
.end
.flash name="cxform.swf" version=5
.jpeg s1 "photo.jpeg" quality=80%
.put s1 x=50 y=50 scalex=110 scaley=110
.frame 100
.change s1 x=0 y=0 scalex=210 scaley=210 red=-1+255 green=-1+255 blue=-1+255 #invert
.frame 200
.change s1 x=100 y=50 scalex=110 scaley=110 red=0 green=+0 blue=+0 #remove red
.frame 300
.change s1 x=0 y=0 scalex=210 scaley=210 red=+0 green=2 blue=-1+255 #amplify green, invert blue
.frame 400
.change s1 x=50 y=100 scalex=110 scaley=110 red=2-128 green=-2+255 blue=+0.7+40 #alien glow
.frame 500
.change s1 x=0 y=0 scalex=210 scaley=210 red=8-1024 green=8-1024 blue=8-1024 #palette reduce
.frame 600
.change s1 x=0 y=0 scalex=210 scaley=210 red=+0 green=+0 blue=+0 #back to normal
.frame 700
.change s1 x=105 y=105 scalex=0 scaley=0 luminance=0 #fadeout
.end