Transparent Flash Movies
FlashPlayerControl supports transparency, enabling applications with non-rectangular and translucent windows that integrate Flash movies. This makes it possible to build modern user interfaces with Flash for presentation and Delphi or C++Builder for business logic.
To use transparency, place a TTransparentFlashPlayerControl component on a form and set its MakeParentTransparent property to True
.
Transparency is supported only on Windows 2000 or later, and requires 16-bit or 32-bit display mode. Use the global function IsFormTransparentAvailable to check if the feature is available.
Delphi Example
if Not IsFormTransparentAvailable then
begin
ShowMessage('Translucency based on Flash is not available');
Application.Terminate;
end;
C++Builder Example
if (!Flashplayercontrol::IsFormTransparentAvailable())
{
ShowMessage("Translucency based on Flash is not available");
Application->Terminate();
}