-.TH swfcombine "1" "October 2001" "swfcombine" "swftools"
+.TH swfcombine "1" "January 2003" "swfcombine" "swftools"
.SH NAME
swfcombine - a tool for combining swf (flash) files
.SH Synopsis
.B swfcombine
[\fIoptions\fR] [\fImasterfile.swf\fR] [\fIslavename1=\fR][\fIslavefile1.swf\fR] ... [\fIslavenameN=\fR][\fIslavefileN.swf\fR]
+
+.B swfcombine
+[\fIoptions\fR] [\fImasterfile.swf\fR] [\fI#id1=\fR][\fIslavefile1.swf\fR] ... [\fI#idN=\fR][\fIslavefileN.swf\fR]
+
+.B swfcombine
+[\fIoptions\fR] --stack [\fIslavename1=\fR][\fIslavefile1.swf\fR] ... [\fIslavenameN=\fR][\fIslavefileN.swf\fR]
+
+.B swfcombine
+[\fIoptions\fR] --cat [\fIslavename1=\fR][\fIslavefile1.swf\fR] ... [\fIslavenameN=\fR][\fIslavefileN.swf\fR]
+
+.B swfcombine
+[\fIoptions\fR] --dummy [\fIfile.swf\fR]
.SH DESCRIPTION
Take two or more SWF files, and combine them into a new SWF. SWFs can either
be stacked (no masterfile is present) or inserted (into the masterfile).
the Flash Plugin.
.LP
For template mechanisms, it's often convenient to separate the processes
-of generating small animation fragments, and merging them all into a big
+of generating small animation fragments and merging them into a big
movie. swfcombine can be used to perform the latter.
.SH OPTIONS
.TP
\fB\-o\fR, \fB\-\-output\fR \fIfilename\fR
Explicitly specify output file. (otherwise, output.swf will be used)
.TP
+\fB\-z\fR, \fB\-\-zlib\fR
+Use Flash MX (SWF 6) Zlib encoding for the output. The resulting SWF will be
+smaller, but not playable in Flash Plugins of Version 5 and below.
+.TP
\fB\-l\fR, \fB\-\-overlay\fR
Don't remove any master objects, only overlay new objects.
.TP
\fB\-c\fR, \fB\-\-clip\fR
Clip the slave objects by the corresponding master objects.
.TP
+\fB\-m\fR, \fB\-\-merge\fR
+Do not store the slave files in a sprite/MovieClip. Instead, merge the files frame by frame.
+.TP
\fB\-d\fR, \fB\-\-dummy\fR
Don't require the presence of slave objects. Usually used together with \fB\-X\fR, \fB\-Y\fR or \fB\-r\fR.
.TP
Don't assume the first file is a master file. Instead, store each
file in a seperate frame.
.TP
+\fB\-a\fR, \fB\-\-cat\fR
+Like -t, but concatenate the files.
+.TP
\fB\-X\fR, \fB\-\-width\fR \fIwidth\fR
Force the output to width \fIwidth\fR. (Otherwise, the width of the master file will be used)
.TP
\fB\-r\fR, \fB\-\-rate\fR \fIrate\fR
Force the output to have the framerate \fIrate\fR. (Otherwise, the framerate of the master file will be used)
.TP
+\fB\-f\fR, \fB\-\-frame\fR
+The next slave replaces a frame, not an object. Therefore the slave identifier is a
+frame number (#frame=) or frame label (framelabel=).
+.TP
\fB\-x\fR, \fB\-\-xpos\fR \fIxpos\fR
(move x) Adjust position of slave by xpos twips (1/20 pixel).
.TP
The slave files will then be converted into sprites, inserted into the
master file, and all PlaceObject tags in the master file which match the
name of the slave file will be updated to correctly display the slave sprite.
+The slave name may also be the object id, preceded by '#', in which case
+the object to be replaced is referenced by id and not by instance name.
.SH Combining (stacking) one or more .swf files without a master
The flash files will be inserted in seperate frames. They will still be
packed into Movieclips, therefore the outputfile will have exactly as many