When publishing a Flash document, you can set image and sound compression options, and an option to protect your SWF file from being imported. You use the controls in the Flash panel of the Publish Settings dialog box to change the settings.
Note: To create a publish profile for the publish settings that you specify, see Using publish profiles.
Not all Macromedia Flash MX 2004 and Macromedia Flash MX Professional 2004 features work in published SWF files that target Flash Player versions earlier than Flash Player 7.
If you want to specific Flash Player detection, on the HTML tab of the Publish Settings dialog box, you must select Flash Player 4 or later. For more information about Flash Player detection, see Configuring publish settings for Flash Player detection.
This option controls which parts of the SWF file Flash draws first over a slow network or modem connection.
If you select ActionScript 2.0 and you've created classes, you can click the Settings button to set the relative classpath to class files that differs from the path to default directories set in Preferences. For more information, see Setting the classpath.
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 "Using the Output panel" in Using ActionScript in Flash.
Protect from Import prevents others from importing a SWF file and converting it back into a FLA document. If you select this option, you can decide to use password protection with your Flash SWF file.
Debugging Permitted activates the Debugger and allows remote debugging of a Flash SWF file. If you select this option, you can decide to use password protection with your SWF file.
Compress movie compresses the SWF file to reduce file size and download time. This option is selected by default and is most beneficial when a file is text-intensive or includes a lot of ActionScript. 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, you can 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.
For more information on the Debugger, see Chapter 4, "Writing and Debugging Scripts" in Using ActionScript in Flash.
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.
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.
For more information on sound, see Working with Sound.
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.
To use an ActionScript class that you've defined, Flash must locate the external ActionScript 2.0 files that contain the class definition. The list of folders in which Flash searches for class definitions is called the classpath. Classpaths exist at the global/application level and at the document level. For more information about classpaths, see "Understanding the classpath" in Using ActionScript in Flash.
You can also click the Add New Path (+) button to add a new line to the Classpath list. Double-click the new line, type a relative or absolute path, and click OK.
Alternatively, double-click the path in the Classpath list, type the desired path, and click OK.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00000483.html
Comments
_tippedOver said on Feb 10, 2005 at 2:43 PM : No screen name said on Apr 12, 2005 at 11:25 PM : _Maulik said on Sep 21, 2005 at 4:55 AM :