Chapter 5. Using External Resources

Dreamweaver easily incorporates external assets that provide advanced layout, multimedia, and interactive capabilities. External assets include Flash, Generator, Fireworks, and Shockwave files, plus Java applets, ActiveX controls, Netscape-style plug-ins, and server-side includes. These assets are created in other applications, not in Dreamweaver itself (although Dreamweaver can create Flash files using the Flash Button and Flash Text tools discussed later). Regardless of their origin, Dreamweaver can incorporate these external objects into your HTML documents. It inserts external objects by using icons in the Objects panel, as shown in Figure 5-1; Macromedia- related objects are found in the Common category, whereas Java applets, plugins, and ActiveX controls are in the Special category.

Figure 5-1. External objects in the Objects panel's Common and Special categories

Internet Explorer for Windows typically uses ActiveX controls to support external objects; other browsers on Windows and all browsers on the Macintosh use Netscape-style plugins instead. When inserting Flash and Shockwave objects, Dreamweaver automatically inserts the HTML necessary to support the major browsers on both platforms. When inserting other ActiveX controls and plugins, you may need to add separate HTML for different browsers and platforms. See Section 5.3 later in this chapter for important details.

Chapter 12 documents behaviors that detect the presence of plugins and ActiveX controls. If users don't have the necessary plugin installed, they have to download it to view your content (or you can provide an alternative version that doesn't require a plugin).

External files, including images, Flash movies, and Shockwave movies, remain "linked" (i.e., external to the HTML document) and must also be uploaded to the web server in binary format. Double-clicking a linked object opens both the Property inspector and the Select File dialog box, allowing you to link to a new file.

If you haven't saved your HTML document, Dreamweaver uses absolute file:/// paths to external assets instead of relative URLs. To avoid problems, save the current HTML file before inserting external objects.

Dreamweaver in a Nutshell
Dreamweaver in a Nutshell
Year: 2005
Pages: 208 © 2008-2017.
If you may any questions please contact us: