beautypg.com

Adobe Flash Professional CS3 User Manual

Page 452

background image

FLASH CS3

User Guide

446

Specifies the

align

value for the

object

,

embed

, and

img

tags and determines how the SWF file is positioned within

the browser window.

Default

Centers the application in the browser window and crops edges if the browser window is smaller than the

application.

L, R, T, and B

Align the application along the left, right, top, and bottom edge, respectively, of the browser window

and crop the remaining three sides as needed.

salign parameter

Value

L | R | T | B | TL | TR | BL | BR

Template variable:

$SA

Description

(Optional) Specifies where a scaled SWF file is positioned in the area that the

width

and

height

settings define.

L, R, T, And B

Align the application along the left, right, top or bottom edge, respectively, of the browser window and

crop the remaining three sides as needed.

TL And TR

Align the application to the top-left and top-right corner, respectively, of the browser window and crop

the bottom and remaining right or left side as needed.

BL And BR

Align the application to the bottom-left and bottom-right corner, respectively, of the browser window

and crop the top and remaining right or left side as needed.

If this attribute is omitted, the content is centered in the browser window.

base attribute

Value

base directory or URL

Description

(Optional) Specifies the base directory or URL used to resolve all relative path statements in the SWF file. This
attribute is helpful when you keep SWF files in a different folder from your other files.

menu attribute or parameter

Value

true | false

Template variable:

$ME

Description

(Optional) Specifies what type of menu appears when the viewer Right-clicks (Windows) or Command-clicks
(Macintosh) the application area in the browser.

true

shows the full menu, which gives the user several options to enhance or control playback.

false

shows a menu that contains only the About Adobe Flash Player 6 option and the Settings option.

The default value is

true

if this attribute is omitted

.

wmode attribute or parameter

Value