Skip to Content
Adobe® Dreamweaver® CS4 Bible
book

Adobe® Dreamweaver® CS4 Bible

by Joseph Lowery
March 2009
Beginner 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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Adobe® Dreamweaver® CS5 Bible

Adobe® Dreamweaver® CS5 Bible

Joseph W. Lowery
Dreamweaver® CS3 Bible

Dreamweaver® CS3 Bible

Joseph W. Lowery
Dreamweaver CS6 Bible

Dreamweaver CS6 Bible

Joseph W. Lowery

Publisher Resources

ISBN: 9780470382523Purchase book