Flash Optimizer allows you to use command line in order not to use the routine process with optimization settings. You may use command line options to automate the process in future. Read the following syntaxes and examples to know the meaning of each command.
Note, that command line is available in "Business license for 1 user" and "Company License" only.
Syntax:
| /f [file name for compression] |
Description
This is an income file for compression.
Syntax:
| /t [file name for result] |
Description
This is a total path for a resulting file.
Syntax:
|
/o [option name or a path to the xml file with settings] For example: /o Best - use internal preset Best optimization or choose another
one (Good, Basic, Medium, Sprite) |
Notes:
Syntax:
| /d [default directory] |
Description
This is a catalogue, where optimized movies will be saved.
Note, if directory is appointed ("/d" and "/t" keys are used at the same time), "/t" will be ignored.
Examples:
| fo2.exe /f "D:\TestSource\Shapes\Shape 18.swf" /o "D:\Sprite compression.plist" /d D:\ |
Description
Optimize "D:\TestSource\Shapes\Shape 18.swf" using settings which are appointed in "D:\Sprite compression.plist" and save this file to the disk D:\
| fo2.exe /f "D:\TestSource\Shapes\Shape 18.swf" /t "D:\TestSource\Shapes\opt.swf" /f "D:\TestSource\Shapes\Shape 19.swf" /t "D:\TestSource\Shapes\opt2.swf" /f "D:\TestSource\Shapes\Shape 25.swf" /t "D:\TestSource\Shapes\opt3.swf" /o Medium |
Description
Optimize "D:\TestSource\Shapes\Shape 18.swf", "D:\TestSource\Shapes\Shape 19.swf" and "D:\TestSource\Shapes\Shape 25.swf" files in resulting "D:\TestSource\Shapes\opt.swf", "D:\TestSource\Shapes\opt2.swf", "D:\TestSource\Shapes\opt3.swf" files accordingly using Medium quality settings for optimization.