Simple Scripting Examples

This section contains a collection of samples designed to introduce you to the rudiments of scripting in Microsoft® DirectAnimation®. Each sample is written in Microsoft JScript™ and illustrates a single concept, such as displaying text or drawing rectangles. The HTML source code is heavily commented. To see the HTML source code, right-click the title above the Show button and choose View Source from the menu that appears.

Don't be afraid to experiment. Try changing the values in the samples to see what happens. It is assumed that you are already familiar with JScript and elementary programming concepts such as functions and arrays. Also, be sure to look at the simple scripting exercises in the JScript\Exercises directory. These complement the material in this section.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.