Gets or sets the window mode of the Flash control for transparency, layering, and positioning in the browser.




public function getWmode() {

public function setWmode($value) {

Property Value

Type: string

The window mode.

Default value is "window".


The following values are possible:

  • window - movie plays in its own rectangular window on a web page.
  • opaque - the movie hides everything on the page behind it.
  • transparent - the background of the HTML page shows through all transparent portions of the movie. This option can slow animation performance.