Dreamweaver CS4 Resources
|
Insert and edit media objects
In addition to SWF and FLV files, you can
insert 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.
- Place the insertion point in the Document window
where you want to insert the object.
- Insert the object by doing one of the following:
In the Common category of the Insert panel,
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 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 panel, or select Insert >
Media > Shockwave.)
- Complete the Select File 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.
- 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.
- 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.
|