
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