Syntax: |
the sound of sprite whichFlashSprite |
|
the sound of member whichFlashMember
|
Type: |
Cast member 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.
|
|
|
The sound property can be tested and set. The default setting is TRUE.
|
Example: |
This handler accepts a sprite reference and toggles the sprite's sound property on or off. |
|
on ToggleSound whichSprite
set the sound of sprite whichSprite = not the sound of sprite whichSprite
end
|
 |
|