sound
 
Syntax SetIconProperty(@"IconTitle", #sound, boolean)

SetIconProperty(@"IconTitle", #sound, boolean)
 

Type Icon property, sprite property
 
Description  This property controls whether a Flash movie can play its sound. The sound property can have these values:

TRUE The Flash movie's sound is enabled.
FALSE The Flash movie's sound is disabled.

You can get and set the value of the sound property. The default setting is TRUE.
 

Example  This routine toggles the Flash sprite's sound property on or off.

If GetSpriteProperty(@"Flash Icon", #sound) then
    SetSpriteProperty(@"Flash Icon", #sound, False)
else
    SetSpriteProperty(@"Flash Icon", #sound, True)
end if

To Table of Contents Back to Previous document Forward to next document