Share via


Windows Media Player 11 SDK EFFECTS.currentEffect 

Windows Media Player SDK banner art

Previous Next

EFFECTS.currentEffect

The currentEffect attribute specifies or retrieves the current visualization.

Syntax

  

Possible Values

This attribute is a read/write object. The default value is the first visualization in the authoring order. If there are no visualizations authored in the skin, the default is the first visualization in the registry.

Remarks

You can use this object to access custom visualizations you have created. For example, you could expose a property through the IDispatch interface in your visualization. You can then change the property value from your skin by making your visualization the current effect, and then using the currentEffect object to set a new value for the property. For example, if your visualization exposes a property named backgroundColor, the following JScript code specifies a new value:

  

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next