Kinesis SoftwareKineticFusion

[Show Table of Contents]

3 Quick Start Guide

[Hide Table of Contents]

3.3 Decompiling SWF Movies

KineticFusion will convert SWFs from all major applications to RVML. The easiest way to do this is to start up the KineticFusion application in GUI mode. Using the File Explorer in the KineticFusion interface, navigate to the location of the SWF file to convert. Select the file in the File window then using the menu 'Run->Decompile SWF' or by activating a context menu on the file (on Windows, use the right mouse button) and selecting 'Decompile SWF' . This will create an RVML file in the current folder with the same base name as the SWF file but with a '.rvml' extension. Any resources that were defined in the SWF are stored in a resource folder that defaults to a 'repository' folder in the current directory. This repository stores any embedded fonts, sounds, images, and video that were embedded in the SWF.

The SWF format was defined to be extremely compact and efficient, but embedded or unused resources within an SWF can cause the SWF to become much larger than necessary. To facilitate the analysis of the resources used in an SWF movie, all resource references are placed in a single <Repository> element in an RVML document after decompiling. Superfluous resources or oversized resources can be easily identified by analyzing the RVML and resource repository and redundant resources can be easily removed from both the RVML documents and the Flash project file. Using these techniques you will able to identify the exact size of the sound, image and font resources inside any SWF, and create automated scripts for extracting analyzing and storing these resources.