Operation Manual

Table Of Contents
322
Page content and assets
Last updated 11/30/2015
Edit Flash Player download information
When you insert a SWF file in a page, Dreamweaver inserts code that detects whether the user has the correct version
of Flash Player. If not, the page displays default alternative content that prompts the user to download the latest version.
You can change this alternative content at any time.
This procedure also applies to FLV files.
Note: If a user does not have the required version but does have Flash Player 6.0 r65 or later, the browser displays a Flash
Player express installer. If the user declines the express install, the page then displays the alternative content.
1 In the Design view of the Document window, select the SWF file or FLV file.
2 Click the eye icon in the tab of the SWF file or FLV file.
You can also press Control + ] to switch to alternative content view. To return to SWF/FLV view, press Control + [
until all of the alternative content is selected. Then press Control + [ again.
3 Edit the content just as you would edit any other content in Dreamweaver.
Note: You cannot add SWF files or FLV files as alternative content.
4 Click the eye icon again to return to the SWF (or FLV) file view.
Preview SWF files in the Document window
1 In the Document window, click the SWF file placeholder to select the content.
2 In the Property inspector (Window > Properties), click the Play button. Click Stop to end the preview. You can also
preview the SWF file in a browser by pressing F12.
To preview all SWF files in a page, press Control+Alt+Shift+P (Windows) or Command+Option+Shift+P
(Macintosh). All SWF files are set to Play.
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 movies 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.