F-IN-BOX Delphi Edition Help >> How to

Enable/disable flash sounds

Using the component you can turn on/off all sounds in all loaded flash movies.

  1. Use global procedure SetAudioEnabled to enable/disable the sounds.
  2. Use GetAudioEnabled to get current status of sounds enabling.

[ Delphi ]
procedure TMainForm.Mute;
  if FlashPlayerControl.GetAudioEnabled then

[ Builder C++ ]
void __fastcall TMainForm::Mute()
  if (Flashplayercontrol::GetAudioEnabled())

More about TFlashPlayerControl
Copyright © Softanics. All rights reserved
F-IN-BOX is a registered trademark of Softanics|Delphi is a trademark of Borland Software Corporation|Macromedia and Shockwave Flash are trademarks of Adobe, Inc.