Sunday, December 28, 2014

How to Insert flash movie in Macromedia Dreamweaver?


            When you insert a Flash movie into a document, Dreamweaver uses both the object tag (defined by Microsoft Internet Explorer for ActiveX controls) and the embed tag (defined by Netscape Navigator) to get the best results in all browsers. When you make changes in the property inspector for the movie, Dreamweaver maps your entries to the appropriate parameters for both the object and embed tags.

To insert a Flash movie:

1.                  In the Design view of the Document window, place the insertion point where you want to insert the move, then do one of the following:
·        In the Insert bar, select Media and then click the Insert Flash icon.
·        In the Insert bar, select Media and then drag the Insert Flash icon to the Document window.
·        Choose Insert > Media > Flash.
·        In the dialog box that appears, select a Flash movie file (.swf).

To preview a Flash move in the Document window:

1.                  In the document window, click the Flash placeholder to select the Flash move you want to preview.
2.                  In the Property inspector, click the Play button. Click stop to end the preview. You can also preview the Flash movie in a browser by pressing F12.

Editing a Flash movie form Dreamweaver
            You cannot directly edit a SWF file, if you want to make changes to an exported SWF, select the Flash move placeholder in the Dreamweaver document, and in the Property inspector click Edit. Edit launches Flash and if the path to the source document (FLA) is available, also launches the FLA file. When the edits are complete, Flash saves the changes in the FLA source document ad re-exports the SWF movie file.

To launch and edit a Flash move inserted from dreamweaver:

1.                  In Dreamweaver, choose window > Properties to open the Property inspector, if it isn’t already open.
2.                  In the Dreamweaver document, do one of the following:
·        Click the Flash movie placeholder to select it; then in the property inspector click edit.


·        Hold down Control and double-click the movie placeholder for the move you want to edit.
·        Right-click the desired move, and choose Edit With Flash from the context menu.
Dreamweaver launches Flash, and opens the FLA file for you to edit or prompts you to open if it cannot locate the FLA file.
                  Note:  If the FLA file or SWF file is locked, Dreamweaver prompts you to                                
                  check the file out, cancel the request, or view the file.
1.                In Flash, edit the movie. The Document window indicates that you are modifying a move from Dreamweaver.
2.               When you are finished making edits, click Done.
Clicking Done saves changes to the source FLA file, and updates the SWF file.