SWiSHmax comes with a powerful scripting language called SWiSHscript.
SWiSHscript commands are defined in the Scripting Reference.
SWiSHscript is loosely based on Flash Action Script, but has SWiSHmax-specific extensions and differences.
The script can be compiled, depending on selected options, to produce script that is compatible with Flash Players 4, 5 or 6.