Specifies x- and y-coordinates along the path, and a time to reach each point. The first point defines the path's starting point. This method can be used or modified only when the path is stopped.
Syntax
HTML <PARAM NAME="KeyFrame" VALUE="npoints, [ x1, y1, ..., xN, yN ], [ time2, ..., timeN]"> Scripting KeyFrameArray=Array( x1, y1, ..., xN, yN )
TimeFrameArray=Array( time2 , ..., timeN )
pathObj.KeyFrame( npoints, KeyFrameArray , TimeFrameArray )
Parameters
- npoints
- Number of points to be used to define the path.
- x1, y1,..., xN, yN
- Set of x- and y- coordinates that identify the points along the path.
- time2,..., timeN
- Respective times that the path takes to reach each of the respective points from the previous point.
- KeyFrameArray
- Array that contains the x- and y-coordinate definitions (script only).
- TimeFrameArray
- Array that contains the time values between the points that define the path, starting at the x1 and y1 point through xN and yN points (the last set of points in the path). The path begins at point x1 and y1 with a time value of 0. Script only.
Remarks
The Duration property is ignored when this method is invoked.
Example
Right-click inside the frame and select View Source to see the HTML code for the KeyFrame method example.
Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.