📄 makeswf.1
字号:
.TH makeswf 1 "27 Mar 2005" "" "Ming utils".\" $Id: makeswf.1,v 1.9 2008/02/08 09:53:59 strk Exp $.SH NAMEmakeswf - actionscript compiler.SH SYNOPSIS.B makeswf [OPTIONS] <frame_content> ....SH DESCRIPTION.B makeswfis a command line interface to the Ming library actionscript compiler, with support for embeddingprebuilt content..PP\fBframe_content\fR can be either: an ActionScript source file, a bitmap file (png or jpg), or an SWF file.Non-ActionScript input files are currently only recognized by extension (png, jpg, swf). Files withother extensions will be assumed to contain ActionScript source code..PPEach \fBframe_content\fR willbe stored in a separate frame of the output..PPActionScript code is preprocessed using \fBcpp\fR before being compiled,this allows (among many other things) grouping multiple sourcefilesinto a single frame by using \fB#include\fR directives. (See .SM.B PREPROCESSORbelow.).PPBitmap or SWF content will be stored in a MovieClip named after the corresponding input filename withpath and extension removed. This allows easy referencing of the content by ActionScript code..SH OPTIONS.TP\fB\-o\fR <output>Write SWF file to <output>. Default is ``out.swf''..TP\fB\-s\fR <width>x<height>Set output frame size..TP\fB\-r\fR <frame_rate>Set output frame rate (defaults to 12)..TP\fB\-v\fR <swfversion>Set output SWF version (defaults to 6)..TP\fB\-c\fR <compression_level>Set output compression level (0 to 9). Defaults to 9.Use -1 to disable..TP\fB\-I\fR <dir>Add <dir> to the include search path.The option is passed to the C preprocessor..TP\fB\-D\fR <macro>[=<def>]>Define <macro>.The option is passed to the C preprocessor..TP\fB\-i\fR <library.swf>:<sym>[,<sym>]>Import named symbols from the given SWF file and store them into a.TP\fB\-a --init-action\fR <source.as>[:<frameno>]Compile the given source AS file as an init action for frame <frameno>..TP\fB\-n --network-access\fR network|fileForce addition of a networkAccess flag with given value.For SWF8 or higher the FileAttribute tag is mandatory so will be present anyway,with a default of 'file' access. You can use this flag to both change the defaultfor SWF8+ and to provide the optional tag for SWF8-.The tag basically determine the resources sandbox to use when the movie is loadedfrom the filesystem, in an exclusive manner..TP\fB\-h\fR Print quick help..TP\fB\-V\fR Print version and copyright info..SH PREPROCESSOR.B makeswfinvokes the C preprocessor on each of the given source filenames beforecompiling them. The preprocessed version is named after the output filewith ".frame#.pp" appended; check this file when looking for line numbersreported in syntax errors. .PPAn __SWF_VERSION__ macro is automatically provided so thatActionScript code can act differently based on target player; it is setto the output SWF version (changed with -v)..SH AUTHORWritten by Sandro Santilli <strk@keybit.net>.SH COPYRIGHTCode is released under the GNU GPL license.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -