beautypg.com

Set swf file properties, Insert flashpaper documents – Adobe Dreamweaver CC 2015 User Manual

Page 320

background image

313

Page content and assets

Last updated 6/3/2015

Set SWF file properties

You can set properties for SWF files using the Property inspector. The properties are also applicable to Shockwave
movies.

Select a SWF file or a Shockwave movie and set the options in the Property inspector (Window > Properties). To see
all properties, click the expander arrow in the lower-right corner of the Property inspector.

ID

Specifies a unique ID for the SWF file. Enter an ID in the unlabeled text box on the far left side of the Property

inspector. As of Dreamweaver CS4, a unique ID is required.

W and H

Specify the width and height of the movie, in pixels.

File

Specifies the path to the SWF file or Shockwave file. Click the folder icon to browse to a file, or type a path.

Src

Specifies the path to the source document (the FLA file), when Dreamweaver and Flash are both installed on

your computer. To edit a SWF file, update the movie’s source document.

Bg

Specifies a background color for the movie area. This color also appears while the movie is not playing (while

loading and after playing).

Edit

Starts Flash to update a FLA file (a file created in the Flash authoring tool). This option is disabled if you do

not have Flash installed on your computer.

Class

Lets you apply a CSS class to the movie.

Loop

Makes the movie play continuously. When Loop is not selected, the movie plays once and stops.

Autoplay

Automatically plays the movie when the page loads.

V Space and H Space

Specifies the number of pixels of white space above, below, and on both sides of the movie.

Quality

Controls anti-aliasing during playback of the movie. High settings improve the appearance of movies.

However, at high settings movies require a faster processor to render correctly on the screen. Low favors speed over
appearance, whereas High favors appearance over speed. Auto Low favors speed at first but improves appearance
when possible. Auto High favors both qualities equally at first but later sacrifices appearance for speed if necessary.

Scale

Determines how the movie fits into the dimensions set in the width and height text boxes. The Default setting

displays the entire movie.

Align

Determines how the movie is aligned on the page.

Wmode

Sets the Wmode parameter for the SWF file to avoid conflicts with DHTML elements, such as Spry widgets.

The default value is Opaque, which allows DHTML elements to appear on top of SWF files in a browser. If the SWF
file includes transparencies and you want DHTML elements to appear behind them, select the Transparent option.
Select the Window option to remove the Wmode parameter from the code and allow the SWF file to appear on top
of other DHTML elements.

Play

Plays the movie in the Document window.

Parameters

Opens a dialog box for entering additional parameters to pass to the movie. The movie must be

designed to receive these additional parameters.

Insert FlashPaper documents

The Insert FlashPaper feature has been deprecated as of Dreamweaver CS5.