Specifications
CHAPTER 15
306
Security files If you use container-based security, then be sure to update your security constraints to include
your Flex application.
In addition, if you load assets from multiple domains, be sure to deploy any crossdomain.xml
files that are required by your applications.
Miscellaneous runtime assets Not all assets are embedded at compile time. For example, FLV and image files are usually
loaded at run time to keep the SWF file as small as possible. Be sure to check that you deploy
the following types of assets that are typically loaded at run time with your Flex application:
• FLV files
• SWF files
• Sound files (such as MP3 files)
• Images (such as GIF, JPG, and PNG files)
Data files It is not uncommon for flat data files to be used as a data provider in Flex applications. Be sure
to deploy any text files, which might appear in various formats such as XML, that are loaded at
run time.
View source If you use the view source functionality in Flex Builder, be sure to include the supporting files
when you deploy your application. These files include the selected source code files, the source
viewer’s SWF file, HTML and CSS files for the source viewe, an XML file, and a ZIP file of the
source code that users can download. You must maintain the directory structure that Flex
Builder generates in the output directory.
To enable view source and generate the ZIP file in Flex Builder, select Project > Export Release
Build. Then select the Enable View Source option.
For more information, see “Publishing source code” on page 134 in Using Adobe Flex Builder 3.
Feature Assets to Deploy










