beautypg.com

Change an existing editor preference, Applying behaviors to images, Adding media objects – Adobe Dreamweaver CC 2015 User Manual

Page 304: Insert and edit media objects

background image

297

Page content and assets

Last updated 6/3/2015

Change an existing editor preference

1

Open the File Types/Editors Preferences dialog box by doing one of the following:

• Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh), and select File Types/Editors

in the Category list on the left.

• Select Edit > Edit with External Editor and select File Types/Editors.

2

In the File Types/Editors preferences dialog box, in the Extensions list select the file type you are changing to view
the existing editor(s).

3

In the Editors list, select the editor you want to want to affect, then do one of the following:

• Click the Add (+) or Delete (–) buttons above the Editors list to add or remove an editor.

• Click the Make Primary button, to change which editor starts by default for editing.

Applying behaviors to images

You can apply any available behavior to an image or image hotspot. When you apply a behavior to a hotspot,
Dreamweaver inserts the HTML source code into the area tag. Three behaviors apply specifically to images: Preload
Images, Swap Image, and Swap Image Restore.

Preload Images

Loads images that do not appear on the page right away (such as those that will be swapped in with

behaviors, AP elements, or JavaScript) into the browser cache. This prevents delays caused by downloading when it is
time for the images to appear.

Swap Image

Swaps one image for another by changing the SRC attribute of the img tag. Use this action to create button

rollovers and other image effects (including swapping more than one image at a time).

Swap Image Restore

Restores the last set of swapped images to their previous source files. This action is automatically

added whenever you attach the Swap Image action to an object by default; you should never need to select it manually.

You can also use behaviors to create more sophisticated navigation systems, such as jump menus.

Adding media objects

Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the
options described in this article in Dreamweaver CC and later. For more information, see

this article

.

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.

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 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.