Edit a swf file from dreamweaver in flash, Using flash player, The flash player application – Adobe Flash Professional CS3 User Manual

Page 426: Playing flash swf files

Advertising
background image

FLASH CS3

User Guide

420

Edit a SWF file from Dreamweaver in Flash

If you have both Flash and Dreamweaver installed, you can select a SWF file in a Dreamweaver document and use
Flash to edit it. Flash does not edit the SWF file directly; it edits the source document (FLA file) and re-exports the
SWF file.

1

In Dreamweaver, open the Property inspector (Window > Properties).

2

In the Dreamweaver document, do one of the following:

Click the SWF file placeholder to select it; then in the Property inspector click Edit.

Right-click (Windows) or Control-click (Macintosh) the placeholder for the SWF file, and select Edit With Flash
from the context menu.

Dreamweaver switches the focus to Flash, and Flash attempts to locate the Flash authoring file (FLA) for the selected
SWF file. If Flash cannot locate the Flash authoring file, you are prompted to locate it.

Note: If the FLA file or SWF file is locked, check out the file in Dreamweaver.

3

In Flash, edit the FLA file. The Flash Document window indicates that you are modifying the file from within

Dreamweaver.

4

When you finish making edits, click Done.

Flash updates the FLA file, re-exports it as a SWF file, closes, and then returns the focus to the Dreamweaver
document.

Note: To update the SWF file and keep Flash open, in Flash select File > Update for Dreamweaver.

5

To view the updated file in the document, click Play in the Dreamweaver Property inspector or press F12 to

preview your page in a browser window.

Using Flash Player

The Flash Player application

Flash Player plays Flash content in the same way as it appears in a web browser or an ActiveX host application. Flash
player is installed with the Flash application. When you double-click Flash content, the operating system starts Flash
Player, which then plays the SWF file. Use the player to make Flash content viewable for users who aren’t using a web
browser or an ActiveX host application.

To control Flash content in Flash Player, use menu commands and the

fscommand()

function. For more infor-

mation, see Sending messages to and from Flash Player in Learning ActionScript 2.0 in Adobe Flash.

Use the Flash Player context menu to print Flash content frames.

Playing Flash SWF files

The Flash SWF file format is for deploying Flash content.

You can play content in the following ways:

In Internet browsers that are equipped with Flash Player

With Flash Xtra in Director® and Authorware® from Adobe®

With the Flash ActiveX control in Microsoft Office and other ActiveX hosts

Advertising