Flash CS3  |  Go to CS4 Help

Set publish options for the Flash SWF file format

  1. Select File > Publish Settings, click Flash, and select a Player version from the Version pop-up menu. Not all Adobe® Flash® CS3 Professional features work in published SWF files that target Flash Player versions earlier than Flash Player 9. To specify Flash Player detection, click HTML and select Flash Player 4 or later.
  2. To specify how Flash loads a SWF file’s layers to show the first frame of your SWF file, select a load order (Bottom Up or Top Down). This option controls which parts of the SWF file Flash draws first over a slow network or modem connection.
  3. Select the ActionScript™ version from the ActionScript version pop‑up menu. If you select ActionScript 2.0 or 3.0 and you’ve created classes, click Settings to set the relative classpath to class files that differ from the path to default directories set in Preferences.
  4. To enable debugging of the published Flash SWF file, select any of the following options:
    Generate Size Report
    Generates a report listing the amount of data in the final Flash content by file.

    Omit Trace Actions
    Causes Flash to ignore Trace actions (trace) in the current SWF file. When you select this option, information from Trace actions does not appear in the Output panel. For more information, see Output panel overview.

    Protect From Import
    Prevents others from importing a SWF file and converting it back into a FLA document. Lets you use password protection with your Flash SWF file.

    Permit Debugging
    Activates the Debugger and allows remote debugging of a Flash SWF file. Lets you use password protection with your SWF file.

    Compress Movie
    (Default) Compresses the SWF file to reduce file size and download time. Most beneficial when a file is text- or ActionScript-intensive. A compressed file plays only in Flash Player 6 or later.

    Optimize For Flash Player 6 r65
    If you selected Flash Player 6 in the Version pop‑up menu, select this option to target a release of Flash Player 6. The updated version uses ActionScript register allocation to improve performance. Users must have the same release of Flash Player 6 or later.

    Export Hidden Layers
    (Default) Exports all hidden layers in the Flash document. Deselecting Export Hidden Layers prevents all layers (including layers nested inside movie clips) marked as hidden from being exported in the resulting SWF. This lets you easily test different versions of Flash documents by making layers invisible.

    Export SWC
    Exports a .swc file, which is used for distributing components. The .swc file contains a compiled clip, the component's ActionScript class file, and other files that describe the component.

  5. If you are using ActionScript 2.0, and selected either Permit Debugging or Protect From Import, enter a password in the Password text field. If you add a password, other users must enter the password before they can debug or import the SWF file. To remove the password, clear the Password text field. For more information on the Debugger, see Debugging ActionScript 1.0 and 2.0. If you are using ActionScript 3.0, see Debugging ActionScript 3.0.
  6. To control bitmap compression, adjust the JPEG Quality slider or enter a value. Lower image quality produces smaller files; higher image quality produces larger files. Try different settings to determine the best trade-off between size and quality; 100 provides the highest quality and least compression.
  7. To set the sample rate and compression for all streaming sounds or event sounds in the SWF file, click Set Next To Audio Stream or Audio Event and select options as needed.
    Note: A streaming sound plays as soon as enough data for the first few frames downloads; it is synchronized to the Timeline. An event sound does not play until it downloads completely, and it continues to play until explicitly stopped.
  8. To override settings for individual sounds selected in the Sound section of the Property inspector, select Override Sound Settings. To create a smaller, low-fidelity version of a SWF file, select this option.
    Note: If the Select Override Sound Settings option is deselected, Flash scans all stream sounds in the document (including sounds in imported video) and publishes all stream sounds at the highest individual setting. This can increase file size, if one or more stream sounds has a high export setting.
  9. To export sounds suitable for devices, including mobile devices, instead of the original library sound, select Export Device Sounds. Click OK.
  10. Select the Flash security model to use from the Local Playback Security pop‑up menu. Specify whether to grant your published SWF file local or network security access. Local Access Only lets the published SWF file interact with files and resources on the local system, but not on the network. Access Network Only lets the published SWF file interact with files and resources on the network, but not on the local system.


Comments

Comments are no longer accepted for Flash CS3. Flash CS4 is the current version. To discuss Flash CS3, please use the Adobe forum.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/UsingFlash/WSd60f23110762d6b883b18f10cb1fe1af6-7bce.html