The DirectAnimation library works with the DirectAnimation integrated-media control (DAViewerControl). Library calls are made through a scripting language, such as JScript or VBScript, to construct an animation and play it from an HTML file.
To construct a simple DirectAnimation control in VBScript:
1. In your HTML file, declare your DAViewerControl object. The object's name can be anything. Here it is DAMyCtl. The CLSID must be as shown:
3. Extract either the PixelLibrary or MeterLibrary from your control.
Set m = DAMyCtl.PixelLibrary
-- or --
Set m = DAMyCtl.MeterLibrary
4. Write your code. When you have created the image or sound you want to display (which can be as elaborate as you like), set it to the DAViewerControl's Image property or Sound property. In this case, the DAViewerControl Image property is set to a solid blue plane that covers the screen:
DAMyCtl.Image = m.SolidColorImage(m.Blue)
5. Render the image or sound with the DAViewerControl function Start:
If you want do delete your site from our spam bases - just email us with domain of your site:abuse-here@inbox.ruthank you! -- Alexmtl?2007-10-04 (木) 05:45:08
If you want do delete your site from our spam bases - just email us with domain of your site:abuse-here@inbox.ruthank you! -- Alexmtl?2007-10-04 (木) 05:45:14