Main Window

You can drag&drop a Flash file onto the main window to open it, or, double-click on the empty workspace for the file open dialog.

Press F1 for help (this document).

Title Bar
If a file is open, its name is displayed with the application name on the title bar.


When skinned interface is in use, you can choose a skin using the top-left menu (Window menu).


Menu
See Menu commands.


Toolbar
Available shortcuts on the toolbar are:
  File | Open (Ctrl+O)
  File | File Information (Ctrl+I)
  Script | Copy Current Script (Ctrl+Alt+C)
  Script | Save All Scripts to Single File


Script Tree
After a Flash file is opened, Script Tree is populated with folder nodes (which correspond to package names), and file nodes (which correspond to individual .as script files)*.

* The tree structure reflects the DoABC tag structure of the SWF. This organization is a convention by Adobe compilers, so certain files, compiled with compilers other than Adobe's or manually created/modified, may have their structure displayed not as expected. See below for scripts displayed under other scripts (rather than under folders).

Initially, if found, document class script is selected. Otherwise, root node, which is labeled as 'AS3 Scripts' is selected by default.

Use the context menu or press F5 to go to (select) the document class.

Root node, labeled as 'AS3 Scripts'.
Folder node, corresponds to a package/folder.
Class script.
Document class script.
Interface script.
Package internal class script.
Script assigned to a Movie Clip symbol.
Script assigned to a Sound symbol.
Script assigned to a Font symbol.
Script assigned to a Bitmap symbol.
Script assigned to a Binary Data symbol.

Scripts that use certain network/loader classes are indicated with icon overlay.

These classes are: flash.net.URLRequest, flash.net.navigateToURL, flash.net.NetStream, flash.net.URLLoader, flash.display.Loader

For certain SWF files (usually not compiled with Adobe compilers), scripts may be displayed under other scripts, rather than under folders. This means, internally those scripts are found together in the SWF (and they may not necessarily correspond to individual files). In these cases, scripts are shown separately under the first script.

Usage Column indicates the scripts that are directly used-by and the scripts that directly use (depend on) the selected script*:
Script is the 'selected' script, for which the direct usage information is displayed.
Press F6 to go to (select again) the 'selected' script.
Script is used by the 'selected' script.
Script uses the 'selected' script.
Script is both used-by and uses the 'selected' script.

For unexpanded packages (folders), these icons indicate that such scripts are present in the package. Click on the icon to expand the package and select the first script with a usage icon.

Double click on a script or press F4 or use the context menu to show or update the Usage Column for the selected script.

*Indirect and dynamic (getDefinitionByName) usage is not displayed.

Info column, unless hidden (see preferences for options and more information), displays code block count, size or usage cues. With this information you can make a quick estimation about decompiled script length or dependencies at a glance.

Select to Decompile
When a file node is selected, decompiled code is displayed on the right side.

Save with Drag&Drop
You can drag&drop folders, or, files to your desktop or to another folder in order to save them. If you drag&drop the root node, all scripts will be saved (in a folder structure, by default).

To save files without a folder structure, keep ALT pressed while starting drag&drop (Fully qualified names will be used as filenames).

To save the scripts in HTML format (.html) instead of text (.as), keep SHIFT pressed while starting drag&drop.


Decompiled Script
Decompiled script is shown for the selected file node in the Script Tree.

You can zoom in and out by pressing Ctrl++ and Ctrl+-.

You can copy the script using Script | Copy Current Script (Ctrl+Alt+C) command.

You can save all scripts to a single text file using Script | Save All Scripts to Single File command.

When the gutter is visible, in addition to Copy (Ctrl+C), Copy All (Ctrl+Alt+C) and Select All (Ctrl+A) commands, Collapse All (Ctrl+Alt+O) and Expand All (Ctrl+Alt+P) commands will be available in the context menu.
Collapse All command will not collapse classes contrary to what the name implies, this is intentional.

If the decompiled script is very large (approximately greater than 9 MB in size), a suggestion box will be displayed, as other text/AS viewer applications may provide better viewing experience with such scripts.
Such scripts will almost always be machine generated and will probably not entirely have a high level AS3 representation.


Status Bar
Current status text and progress for the current operation is shown on the status bar.

If there are any warnings/errors, you can view them by clicking on the warning icon, which brings up the Error Log.



Online URL for this page is http://www.as3sorcerer.com/as3s/help/en/index.html?p=1010.html