beautypg.com

Adobe Flash Professional CC 2014 v.13.0 User Manual

Page 528

background image

Opaque

Transparent

Opaque windowless and Transparent windowless

Direct

GPU

allowscriptaccess attribute or parameter

always

never

samedomain

SeamlessTabbing parameter

true

false

Makes the application hide everything behind it on the page.

Makes the background of the HTML page show through all the transparent portions of the application and can slow

animation performance.

Both interact with HTML layers, letting layers above the SWF file block out the

application. Transparent allows transparency so that HTML layers below the SWF file can be seen through the background of the SWF file;
opaque does not.

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

is turned off.

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

turned off.

Value: Window | Opaque | Transparent | Direct | GPU

Template variable: $WM

Use allowscriptaccess to let your Flash Pro 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 Pro application. This has important implications for cross-domain security.

Permits scripting operations at all times.

Forbids all scripting operations.

Permits scripting operations only if the Flash Pro 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

(Optional) Lets you set the ActiveX control to perform seamless tabbing, so that the user can tab out of a Flash

Pro application. This parameter works only in Windows with the Flash Player ActiveX control, version 7 and higher.

(or omitted) Sets the ActiveX control to perform seamless tabbing: After users tab through the Flash Pro application, the next tab

keypress moves the focus out of the Flash Pro application and into the surrounding HTML content or to the browser status bar if nothing
can have focus in the HTML following the Flash Pro application.

Sets the ActiveX control to behave as it did in version 6 and earlier: After users tab through the Flash Pro application, the next tab

keypress wraps the focus around to the beginning of the Flash Pro application. In this mode, you cannot use the tab key to advance the
focus past the Flash Pro 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">

521