SWF encrypt
Reserved area | Contact | Privacy
Home toKaos Example Libraries Encryption Buy Now Support & Upgrade Download Company
Command-Line Usage Guide


Below you will find information about Command-Line usage.


 Sintax

toKaos.exe [-g:config-file] as-project

config-file [optional] configuration file absolute path. If not specified toKaos looks for user settings of the last processing using toKaos gui. If the project was never processed with toKaos gui the standard default values will be taken.

as-project mandatory. Absolute path of an .mxml file or .as file or .fla file or a source directory.


 Examples

"C:\Program Files\KSOL\toKaos\toKaos.exe" g:C:\Projects\MyProjectX\MyProjectX.cfg C:\Projects\MyProjectX\src\MyProjectX.mxml

"C:\Program Files\KSOL\toKaos\toKaos.exe" C:\Projects\MyProjectX\src\MyProjectX.mxml

"C:\Program Files\KSOL\toKaos\toKaos.exe" g:C:\Projects\MyProjectY\MyProjectY.cfg C:\Projects\MyProjectY\src\MyProjectY.as

"C:\Program Files\KSOL\toKaos\toKaos.exe" C:\Projects\MyProjectY\src\MyProjectY.as

"C:\Program Files\KSOL\toKaos\toKaos.exe" g:C:\Projects\MyProjectZ\MyProjectZ.cfg C:\Projects\MyProjectZ\src\MyProjectZ.fla

"C:\Program Files\KSOL\toKaos\toKaos.exe" C:\Projects\MyProjectZ\src\MyProjectZ.fla

"C:\Program Files\KSOL\toKaos\toKaos.exe" g:C:\Projects\MyProjectLib\MyProjectLib.cfg C:\Projects\MyProjectLib\src\

"C:\Program Files\KSOL\toKaos\toKaos.exe" C:\Projects\MyProjectLib\src\


 Configuration file specification

Is a .INI file standard format, it contains two section: [startup] and [user].

[startup] Section
It contains the encryption/obfuscation parameters.

ParameterDescriptionAdmitted values
a1Encrypt package identifier0: do not encrypt
1: encrypt
a2Encrypt class identifier0: do not encrypt
1: encrypt
a3Encrypt public variable identifier0: do not encrypt
1: encrypt
a4Encrypt public function identifier0: do not encrypt
1: encrypt
a5Compact sources0: do not compact
1: compact
a6Encrypt public function parameter identifier0: do not encrypt
1: encrypt
a7Encryption type 1: Maximum length identifiers
2: Medium length identifiers
3: Minimum length identifiers
6: Variable length identifiers
7: Lowercase identifiers

[user] Section
It contains three types of informations: reserved identifiers, libraries and elements to not encrypt:

ParameterDescriptionExample
wxxxRserved identifiersw001=getAge
w002=processGuid
lxxxLibraries
Sintax: name|path
l001= FlexLibs|D:\Kaos\FlexMdi11
pxxxPackage identifiers to not encrypt
Sintax: package
p001= com.yahoo.astra.animation
p002= com.yahoo.astra.mx.core
cxxxClass identifiers to not encrypt
Sintax: package|class
c001= com.yahoo.astra.animation|Animation
c002= com.yahoo.astra.utils|ColorUtil
fxxxFunction identifiers to not encrypt
Sintax: package|class|function
f001= com.yahoo.astra.animation|Animation|whiteOrBlack
vxxxVariable identifiers to not encrypt
Sintax: package|class|variable
v001= com.yahoo.astra.animation|AnimationEvent|parameters
rxxxFunction parameter to not encrypt
Sintax: package|class|function|parameter
r001= com.yahoo.astra.utils|ColorUtil|HSBColor|brightness|value
axxxFunction local variable to not encrypt
Sintax: package|class|function|variable
a001= com.yahoo.astra.utils|ColorUtil|HSBtoRGB|rgb

Example of a config-file

[startup]
a1=0
a2=1
a3=1
a4=1
a5=0
a6=1
a7=3

[user]
w001=Animation
w002=ThumbSkin
l001=FlexLibs|C:\Projects\MyProjectX\MyLib\src
c001=|Astra
c002=com.yahoo.astra.animation|Animation
p001=com.yahoo.astra.mx.skins.halo
f001=com.yahoo.astra.utils|ColorUtil|CMYKToCMY
f002=com.yahoo.astra.utils|ColorUtil|HSBToCMYK
v001=com.yahoo.astra.utils|HSBColor|_saturation
v002=com.yahoo.astra.utils|HSBColor|_hue
r001=com.yahoo.astra.utils|ColorUtil|CMYKToCMY|cmyk
a001=com.yahoo.astra.utils|ColorUtil|CMYKToCMY|cyan
a002=com.yahoo.astra.utils|ColorUtil|CMYKToCMY|key
a003=com.yahoo.astra.utils|ColorUtil|CMYKToCMY|magenta
a004=com.yahoo.astra.utils|ColorUtil|CMYKToCMY|yellow

Download our ActionScript Encrypter/Obfuscator! (SWF Encrypt)
toKaos Example
Screenshot Gallery
ActionScript Obfuscator Watch the video
What's New on toKaos
Buy Now
Support & Upgrade
Give us your feedback
Become a Reseller
Links
Libraries Encryption
Command-line mode

Testimonials

toKaos is simply the best product I have seen...
We are PayPal verified. Purchase securely our Action Script Obfuscator
Sella Bank -Purchase securely our Action Script Obfuscator using protocol ssl3/128 bit
Is your trial expired ?

Request to extend the trial period.

Please do not use an anonymous e-mail account.
Download our ActionScript Encrypter/Obfuscator! (SWF Encrypt)
                                    K-SOL S.r.l.