ActiveX Controls have been deprecated by Microsoft in the latest versions of the Windows operating system in favor of the
DotNet framework and its controls.
While MAXScript still supports ActiveX controls, these have to be installed and registered on the system to be accessible to MAXScript.
As a replacement of ActiveX controls, MAXScript supports DotNet controls in 3ds Max 9 and higher.
The following example will not work unless the Windows Media Player ActiveX control is registered on your system.
The following example creates a Windows Media Player in a rollout.
You can load an avi file by clicking the "Pick Avi" button and choosing an Avi file from disk.
When the play button is hit the "on timer..." event is called. This synchronizes the time slider with the active frame in the media player!
Click "Show properties" to get all the properties listed in the listbox.
You can get a property's value by selecting the property name from the listbox.
You can also set a property by picking a property from the listbox and entering the new value in the text field below.