Introduction


The Scripting Cookbook is a collection of samples designed to introduce you to the rudiments of scripting in DirectAnimation. Each sample is written in JScript and illustrates a single concept, such as displaying text or drawing rectangles. The source code is heavily commented. To see it, right-click on the title above the Show button and select 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 are complementary to the material in this section.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.