WMode

Syntax

property WMode: WideString;

Description

Gets or sets WMode.

The WMode property defines how the Flash ActiveX control is rendered:

  • Window — a child window is created with its own HWND (windowed mode).
  • Transparent — windowless mode, allowing rendering over bitmaps with alpha.
  • Opaque — renders the control without transparency.

Although this property can be changed, when using F-IN-BOX you should not set it directly. F-IN-BOX manages it automatically:

  • When using TFlashPlayerControl, the control works in windowed mode (WMode = Window).
  • When using TTransparentFlashPlayerControl, WMode is always set to Transparent.

Therefore, manually setting WMode is unnecessary and may lead to unexpected behavior.

See also Transparency.