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:
<OBJECT ID="DAMyCtl" STYLE="position:absolute; left:30%; top:100;width:300;height:300" CLASSID="CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D"> </OBJECT>
<SCRIPT LANGUAGE="VBScript"> <!--
Set m = DAMyCtl.PixelLibrary
or
Set m = DAMyCtl.MeterLibrary
DAMyCtl.Image = m.SolidColorImage(m.Blue)
DAMyCtl.Start
--> </SCRIPT>
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.