Skip to Main Content
Adobe® Dreamweaver® CS4 Bible
book

Adobe® Dreamweaver® CS4 Bible

by Joseph Lowery
March 2009
Beginner to intermediate content levelBeginner to intermediate
1321 pages
46h 24m
English
Wiley
Content preview from Adobe® Dreamweaver® CS4 Bible
507
Using Behaviors
12
hidden=true
width=0
height=0
Instead of automatically detecting which sound files have been inserted in the current Web page,
Play Sound looks for the sound file to be inserted through the action’s dialog box (see Figure 12-32).
FIGURE 12-32
Give your Web page background music and control it with the Play Sound action.
Dreamweaver can detect if a visitor’s browser has the Windows Media Player installed
and, if so, it issues the appropriate commands.
To use the Play Sound action, follow these steps:
1. Select the object to trigger the action.
2. From the Behaviors panel, click the Add (+) button and select ~Deprecated ➪ Play Sound.
3. To play a sound, enter the path to the audio file in the Play Sound text box or click the
Browse button to locate the file.
4. Click OK when you’re finished.
Timeline: Go To Timeline Frame, Play Timeline, and Stop Timeline
Any Dynamic HTML animation in Dreamweaver happens with timelines, but a timeline can’t do any-
thing without the actions written to control it. The three actions in the timeline set—Go To Timeline
Frame, Play Timeline, and Stop Timeline—are all you need to set your Web page in motion.
Before the Timeline actions become available, at least one timeline must be on the current page. All
three of these related actions are located in the Timeline submenu. Generally, when you are estab-
lishing controls for play
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Adobe® Dreamweaver® CS5 Bible

Adobe® Dreamweaver® CS5 Bible

Joseph W. Lowery
Dreamweaver® CS3 Bible

Dreamweaver® CS3 Bible

Joseph W. Lowery

Publisher Resources

ISBN: 9780470382523Purchase book