beautypg.com

Adobe Flash Professional CS3 User Manual

Page 453

background image

FLASH CS3

User Guide

447

Window | Opaque | Transparent

Template variable:

$WM

Description

(Optional) Lets you use the transparent Flash content, absolute positioning, and layering capabilities available in
Internet Explorer 4.0. For a list of browsers this attribute/parameter supports, see “Publishing Flash documents” on
page 419.

Window

Plays the application in its own rectangular window on a web page. Window indicates that the Flash appli-

cation has no interaction with HTML layers and is always the topmost item.

Opaque

Makes the application hide everything behind it on the page.

Transparent

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

and can slow animation performance.

Opaque windowless and Transparent windowless

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 might show
through if a section of the SWF file has transparency; opaque does not.

The default value is

Window

if this attribute is omitted. Applies to

object

only.

allowscriptaccess attribute or parameter

Value

always | never | samedomain

Description

Use

allowscriptaccess

to let your Flash 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 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 application is from the same domain as the HTML page.

The default value that all HTML publish templates use is

samedomain

.

SeamlessTabbing parameter

Value

true | false

Description

(Optional) Lets you set the ActiveX control to perform seamless tabbing, so that the user can tab out of a Flash appli-
cation. 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 appli-

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

false

Sets the ActiveX control to behave as it did in version 6 and earlier: After users tab through the Flash appli-

cation, the next tab keypress wraps the focus around to the beginning of the Flash application. In this mode, you
cannot use the tab key to advance the focus past the Flash application.