set the playMuted of <movie | sound>
Applies to movies, sounds
The playMuted property controls whether or not the playing sound or movie is heard. If true, the sound or movie is muted. If false, the sound or movie plays at the current playVolume setting. The value of playMuted has no effect on the playVolume value. The default value of playMuted is false.
Suppose you want to create a button that mutes/restores a movie's volume, and you want to display an icon graphic while the movie is muted. Add the following handler to the script of button "Mute":
playMuted of movie 1
the playMuted of movie 1 end mouseUp
Click the "muteIcon" button several times to see the bitmap appear and then disappear, and to hear the sound muted and then played.
This text has been mechanically extracted from the Oracle Media Objects 126.96.36.199 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.