Flex and ActionScript properties

The properties for the fortify-sca.properties file in the following table apply to the translation of Flex and ActionScript code.

Property name Description

com.fortify.sca.FlexLibraries 

Specifies a semicolon-separated (Windows) or colon-separated (non-Windows) of libraries to "link" to. This list must include flex.swc, framework.swc, and playerglobal.swc (which are usually located in the frameworks/libs directory in your Flex SDK root). Use this property primarily to resolve ActionScript.

Value type: String (path)

Default: (none)

Command-line option: -flex-libraries

com.fortify.sca.FlexSdkRoot 

Specifies the root location of a valid Flex SDK. The folder must contain a frameworks folder that contains a flex-config.xml file. It must also contain a bin folder that contains an mxmlc executable.

Value type: String (path)

Default: (none)

Command-line option: -flex-sdk-root

com.fortify.sca.FlexSourceRoots 

Specifies any additional source directories for a Flex project. Separate multiple directories with semicolons (Windows) or colons (non-Windows).

Value type: String (path)

Default: (none)

Command-line option: -flex-source-root