WMode
Syntax
string WMode;
Description
The WMode
property defines how the Flash ActiveX control is rendered. It supports three values:
- Window — the default. In this mode, a child window is created with its own HWND.
- Transparent — makes the control windowless, allowing it to render over bitmaps with alpha, enabling semitransparency effects.
- Opaque — renders the control without transparency.
By default, WMode
is set to Window.
When changed to Transparent, the control becomes windowless, making it possible to overlay Flash content on custom backgrounds.
When using F-IN-BOX, it is not recommended to set this property directly. Instead, F-IN-BOX provides separate controls for windowed and windowless modes, simplifying usage and ensuring proper behavior.
Supported Flash versions
Flash version | Status |
---|---|
3 | ✓ |
4 | ✓ |
5 | ✓ |
6 | ✓ |
7 | ✓ |
8 | ✓ |
9 | ✓ |
10 | ✓ |
11 | ✓ |
12+ | ✓ |