Adobe Flash Professional CC 2014 v.13.0 User Manual

Page 890

Advertising
background image

To the top

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

9. 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 (Deprecated with Flash Professional CC) Debugging ActionScript 1.0
and 2.0. If you are using ActionScript 3.0, see

Debugging ActionScript 3.0

.

10. Select the Flash Professional 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.

11. To enable the SWF file to use hardware acceleration, select one of the following options from the Hardware Acceleration menu:

Level 1 - Direct Direct mode improves playback performance by allowing Flash Player to draw directly on the screen instead of letting the
browser do the drawing.

Level 2 - GPU In GPU mode, Flash Player utilizes the available computing power of the graphics card to perform video playback and
compositing of layered graphics. This provides another level of performance benefit depending on the user's graphics hardware. Use this
option when you expect that your audience will have high-end graphics cards.

If the playback system does not have sufficient hardware to enable acceleration, Flash Player reverts to normal drawing mode automatically.
For best performance on web pages containing multiple SWF files, enable hardware acceleration for only one of the SWF files. Hardware
acceleration is not used in Test Movie mode.

When you publish your SWF file, the HTML file that embeds it contains a wmode HTML parameter. Choosing Level 1 or Level 2 hardware
acceleration sets the wmode HTML parameter to "direct" or "gpu" respectively. Turning on hardware acceleration overrides the Window
Mode setting you may have chosen in the HTML tab of the Publish Settings dialog box, because it is also stored in the wmode parameter in
the HTML file.

12. To set a maximum time that scripts can take to execute in the SWF file, enter a value for the Script Time Limit. Flash Player cancels

execution of any scripts that exceed the limit.

Specify publish settings for HTML wrapper files (CS5)

Playing Flash Professional content in a web browser requires an HTML document that activates the SWF file and specifies browser settings. The
Publish command automatically generates this document from HTML parameters in a template document.

The template document can be any text file that contains the appropriate template variables—including a plain HTML file, a file that includes code
for special interpreters such as ColdFusion® or Active Server Pages (ASP), or a template included with Flash Professional.

To manually enter HTML parameters for Flash Professional or customize a built-in template, use an HTML editor.

HTML parameters determine where the content appears in the window, the background color, the size of the SWF file, and so on, and set
attributes for the object and embed tags. Change these and other settings in the HTML panel of the Publish Settings dialog box. Changing these
settings overrides options you’ve set in the SWF file.

Specify the settings

1. Select File > Publish Settings and click Formats. The HTML file type is selected by default.

2. Use the default filename, which matches the name of your document, or enter a unique name, including the .html extension.

3. To show HTML settings and select an installed template to use, from the Template pop-up menu, click HTML. To show a description of the

selected template, click Info. The default selection is Flash Only.

4. If you selected an HTML template other than Image Map or QuickTime, and on the Flash tab you set the Version to Flash Player 4 or later,

select Flash Version Detection.
Note: Flash Version Detection configures your document to detect the version of Flash Player that the user has and sends the user to an
alternative HTML page if the user does not have the targeted player.

5. Select a Dimensions option to set the values of the width and height attributes in the object and embed tags:

Match Movie (Default) Uses the size of the SWF file.

Pixels Enters the number of pixels for the width and height.

Percent Specifies the percentage of the browser window that the SWF file occupies.

6. To control the SWF file’s playback and features, select Playback options:

Paused At Start Pauses the SWF file until a user clicks a button or selects Play from the shortcut menu. (Default) The option is deselected
and the content begins to play as soon as it is loaded (the PLAY parameter is set to true).

Loop Repeats the content when it reaches the last frame. Deselect this option to stop the content when it reaches the last frame. (Default)
The LOOP parameter is on.

Display Menu Shows a shortcut menu when users right-click (Windows) or Control-click (Macintosh) the SWF file. To show only About
Flash in the shortcut menu, deselect this option. By default, this option is selected (the MENU parameter is set to true).

883

Advertising