ActionScript (deprecated)#

The ActionScript Module has been deprecated.

To install, please contact Lattix to obtain the ActionScript module. Unzip and extract the file actionscript_plugin.jar. Copy this file into the bin/plugins sub-directory of your Lattix installation. On Windows, this is typically C:Program FilesLattix9.xbinplugins. Now you can start Lattix and the ActionScript module will be available.

The ActionScript module allows users to load ActionScript project using two different approaches:

  • Load compiled swf/swc files

  • Load link-report.xml file

Install#

Download and Install the ActionScript Module in Lattix#

  • Download the ActionScript Module.

  • Unzip and extract the file actionscript_plugin.jar.

  • Copy actionscript_plugin.jar into the bin/plugins sub-directory of your Lattix installation. On Windows, this is typically C:Program FilesLattix8.xbinplugins.

  • Restart Lattix and you should see ActionScript in the Module Dropdown list in the New Project Dialog.

Download and Copy Flex SDK jar files#

In order for the ActionScript module to work, you must copy the jar files, asc.jar and swfutils.jar into the lib folder in your Lattix installation. Please perform the following steps to retrieve and copy the jar files.

  • Download Flex SDK from Adobe:http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK. The asc.jar and swfutils.jar are located in the lib folder in Adobe’s Flex SDK.

  • Copy the asc.jar and swfutils.jar files into the lib/plugins folder where Lattix is installed.

You are now ready to use the ActionScript Module.

Note: Lattix was tested with Flex SDK version 4.0.0.14159. Please let us know if you run into any problems with a different version of the Flex SDK.

Create a Project#

You can create a project with the ActionScript module for the following input file types:

  1. Select SWF or SWC for Input Source and then browse to find and select the swf and swc files that you want to load in.

  2. Select Link Reports File for Input Source and then browse to find and select the xml file that contains the link information.

Create New Project

Options#

Logfile Name
Specifies the name of a logfile into which the ActionScript module outputs diagnostic information during dependency extraction.
Member Level Processing
Using Architect’s member level functionality, classes and interfaces can be further expanded down to fields and methods.
  • Do Not Load Members

  • Load Members for Specified Elements

  • Load All Members

Dependencies For Members

  • Load Member Dependencies

  • Do Not Load Member Dependencies

Atom Types and Dependency Kinds#

With the SWF/SWC option, the ActionScript module generates the following types of atoms:

  • Class

  • Class.Method

  • Class.Field

  • Interface

  • Interface.Method

Also, the following kinds of dependencies are generated:

  • Class Reference: Reference to class name.

  • Data Member Reference: Reference to a field in a class.

  • Implements: Implement an interface.

  • Inheritance: Class inheritance.

  • Method Invocation: Method call.

Limitations#

ActionScript is a dynamic language. Therefore, some dependencies may not be discovered by static analysis.