Layout Overview

The SWF Studio layout feature is designed to bundle files, referred to as "resources", directly into your application. This way, rather than distributing your application with a number of separate support files, you can ship a single exe or scr file with all the resources embedded within it. See the Files Tab for a description of the User Interface controls.

The resources can be marked at either manual or auto extract. If they are to be automatically extracted, your application will extract them to a randomly named temporary folder when the application starts. If they are to be manually extracted, you can use the Layout.extractFile command to extract to the location of your choice, optionally changing the file name, or use Layout.loadFile to have the contents of the file loaded into a Flash variable without extracting it to disk.