FPC_EnableSound

Syntax

void WINAPI FPC_EnableSound(HFPC hFPC, BOOL bEnable);

Description

The FPC_EnableSound function enables or disables sound playback for all Flash movies associated with the given hFPC instance.

Pass TRUE to enable sound. Pass FALSE to mute all Flash sounds.

See also FPC_IsSoundEnabled

Example

HFPC hFPC = FPC_LoadRegisteredOCX();
if (hFPC)
{
    // Mute all sounds
    FPC_EnableSound(hFPC, FALSE);
 
    // Re-enable sounds later
    FPC_EnableSound(hFPC, TRUE);
}