beautypg.com

Adobe Flash Professional CC 2014 v.13.0 User Manual

Page 558

background image

Direct Level 1 - Direct mode hardware acceleration is turned on. The other window mode settings apply only when hardware acceleration
is turned off.

GPU Level 2 - GPU mode hardware acceleration is turned on. The other window mode settings apply only when hardware acceleration is
turned off.

For more information about hardware acceleration, see Specify publish settings for SWF files (CS5).

The default value is Window if this attribute is omitted. Applies to object only.

Value: Window | Opaque | Transparent | Direct | GPU

Template variable: $WM

allowscriptaccess attribute or parameter Use allowscriptaccess to let your Flash Professional application communicate with the HTML page
hosting it. The fscommand() and getURL() operations can cause JavaScript to use the permissions of the HTML page, which can be different from
the permissions of your Flash Professional application. This has important implications for cross-domain security.

always Permits scripting operations at all times.

never Forbids all scripting operations.

samedomain Permits scripting operations only if the Flash Professional application is from the same domain as the HTML page.

The default value that all HTML publish templates use is samedomain.

Value: always | never | samedomain

SeamlessTabbing parameter (Optional) Lets you set the ActiveX control to perform seamless tabbing, so that the user can tab out of a Flash
Professional application. This parameter works only in Windows with the Flash Player ActiveX control, version 7 and higher.

true (or omitted) Sets the ActiveX control to perform seamless tabbing: After users tab through the Flash Professional application, the
next tab keypress moves the focus out of the Flash Professional application and into the surrounding HTML content or to the browser
status bar if nothing can have focus in the HTML following the Flash Professional application.

false Sets the ActiveX control to behave as it did in version 6 and earlier: After users tab through the Flash Professional application, the
next tab keypress wraps the focus around to the beginning of the Flash Professional application. In this mode, you cannot use the tab key
to advance the focus past the Flash Professional application.

Value: true | false

Examples using object and embed tags

For object, four settings (height, width, classid, and codebase) are attributes that appear in the object tag; all others are parameters that appear in
separate, named param tags, as shown in the following example:

height="100" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0">

For the embed tag, all settings (such as height, width, quality, and loop) are attributes that appear between the angle brackets of the opening
embed tag, as shown in the following example:

loop="true" quality="high"

pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">

To use both tags, position the embed tag before the closing object tag, as shown in the following example:

height="100" codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0">

loop="true" quality="high"

pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">

Note: If you use the object and embed tags, use identical values for each attribute or parameter to ensure consistent playback across browsers.
The swflash.cab#version=9,0,0,0 parameter is optional; only omit this parameter if you don’t want to check for the version number.

551