Flash Optimizer lets you use command line in order not to use the routine process with optimization settings.
Read the following syntaxes and examples to know the meaning of each command:
|/f [file name for compression]|
This is the original file for compression.
|/t [file name for result]|
This is the full path to the resulting file.
|/o [option name or the path to the xml file with settings]For example:|
/o Best – use internal preset ‘Best optimization’ or choose another one (Good, Basic, Medium, Sprite)
/o MyPreset – use your own saved preset
/o D:\super_compression.plist – apply these settings for better quality
- You can get examples of xml files in C:\Users\User_name\AppData\Roaming\Eltima Software\Flash Optimizer\presets\*.plist catalog after you launch Flash Optimizer
- If a parameter is not set, the default settings will be active (parameters from the last Flash Optimizer session)
- Each parameter must be started from uppercase letter
|/d [default directory]|
This is a catalog, where optimized movies will be saved to.
Note, if “/d” and “/t” keys are used at the same time, “/t” will be ignored.
This command permits to find all SWF files in the specified directory and add them to Tasks list for optimization.
This command permits to look for all SWF files recursively in the specified directory and add them to Tasks list for optimization.
|fo2.exe /f “D:\TestSource\Shapes\Shape 18.swf” /o “D:\Sprite compression.plist” /d D:\|
Optimize “D:\TestSource\Shapes\Shape 18.swf” with settings set 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|
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 with ‘Medium quality’ settings.