Dreamweaver

Insert and edit media objects

You can insert Flash SWF files or objects, QuickTime or Shockwave movies, Java applets, ActiveX controls, or other audio or video objects in a Dreamweaver document. If you inserted accessibility attributes with a media object, you can set the accessibility attributes and edit those values in the HTML code.

  1. Place the insertion point in the Document window where you want to insert the object.
  2. Insert the object by doing one of the following:
    • In the Common category of the Insert bar, click the Media button and select the icon for the type of object you want to insert.

    • Select the appropriate object from the Insert > Media submenu.

    • If the object you want to insert is not a Flash, Shockwave, Applet, or ActiveX object, select Plugin from the Insert > Media submenu.

      A dialog box appears letting you select a source file and specify certain parameters for the media object.

      To prevent such dialog boxes from appearing, select Edit > Preferences > General (Windows) or Dreamweaver > Preferences > General (Macintosh) and deselect the Show Dialog When Inserting Objects option. To override whatever preference is set for showing dialog boxes, hold down the Control (Windows) or Option (Macintosh) key while inserting the object. (For example, to insert a placeholder for a Shockwave movie without specifying the file, hold down Control or Option, and either click the Shockwave button in Media pop‑up menu of the Common Insert bar, or select Insert > Media > Shockwave.)
  3. Complete the Select File or Insert Flash dialog box, and click OK.
    Note: The Accessibility Attributes dialog box appears if you have chosen to show attributes when inserting media in the Edit > Preferences dialog box.
  4. Set the accessibility attributes.
    Note: You can also edit media object attributes by selecting the object and editing the HTML code in Code view, or right-clicking (Windows) or Control-clicking (Macintosh), and selecting Edit Tag Code.
    Title
    Enter a title for the media object.

    Access Key
    Enter a keyboard equivalent (one letter) in the text box to select the form object in the browser. This lets a visitor to the site use the Control key (Windows) with the Access Key to access the object. For example, if you enter B as the Access Key, use Control+B to select the object in the browser.

    Tab Index
    Enter a number for the tab order of the form object. Setting a tab order is useful when you have other links and form objects on the page and need the user to tab through them in a specific order. If you set tab order for one object, be sure to set the tab order for all of them.

  5. Click OK to insert the media object.
    Note: If you click Cancel, a media object placeholder appears in the document, but Dreamweaver does not associate accessibility tags or attributes with it.

    To specify a source file, or to set dimensions and other parameters and attributes, use the Property inspector for each object. You can edit accessibility attributes for an object.