Specifications

209ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
10 For Verification, select Digests if you are using a cross-domain RSL or if you are using a standard RSL that you
want to verify at run time with a digest.
Click the Add button to add the deployment path of the RSL SWF file. The Edit RSL Deployment Path dialog
box appears.
In the Deployment Path/URL field, enter the location that you will deploy the RSLs SWF file to. This path is
relative to the main applications SWF file. The default is to deploy the RSL in the same directory as the main
application.
(Cross-domain RSLs only) Add a policy file URL if the application and the RSL will be on separate domains,
and the crossdomain.xml file is not at the root of the RSLs server.
You can have Flex Builder extract the RSLs SWF file from the SWC file automatically or you can do it
manually. Deselect the Auto Extract swf to Deployment Path option if you want to extract the RSLs SWF file
from the SWC file manually. Otherwise, Flex Builder will extract the SWF file for you. In general, you should
manually extract the SWF file and optimize it before deploying it. Otherwise, the library.swf file will be larger
than necessary. For more information on optimizing the RSL, see “Optimizing RSL SWF files” on page 212.
Click OK to save your changes.
11 Select None for Verification if you are using a standard RSL that does not use a digest. In this case, the RSL is
assumed to not be cross-domain, and you therefore cannot specify a policy file URL. This is because standard
RSLs must be deployed in the same domain as the main application, so policy files are not necessary. The
deployment path of the RSL can also only be a local path that is relative to the location of the main applications
SWF file.
12 Click OK to save your Library Path Item Options.
13 If the RSL is a cross-domain RSL, ensure that the Verify RSL Digests option is selected in the Library Path tab.
If the RSL is standard and you do not want to use a digest, deselect this option. This option is overridden by the
Verification setting in the Library Path Item Options dialog box.
14 Click OK to save your changes to the Flex Build Path settings.