Creates a DANumber object that represents an animated number. This means the value of the object can vary over time.
This class inherits from the DABehavior class.
Allows control properties to be animated (vary over time). This function forms fragments of script and passes them to the scripting engine on every frame. For example, a DANumber object can be attached to the width property of a frame on an HTML page. When invoke is FALSE, the property is set directly and the fragment would look like:
this.is.the.propertyIWantToSet = whateverIWant
If invoke is TRUE, then a function name should be specifed in the string parameter (property) and is invoked this way:
myFunction(whateverIWant)
stringObj.AnimateProperty(
property,
language,
invoke,
update
)
Returns the DANumber object.
Extracts the value of numberObj, returning a number (a double). The object must have a constant value.
numberObj.Extract
Returns a number (a double).
Converts a double to a DAString.
numberObj.ToString(
a
)
Returns the DAString object.
Converts a DANumber object to a DAString object.
numberObj.ToStringAnim(
a
)
Returns the DAString object.
The following functions are defined in the DAStatics class and are most relevant for objects of type DANumber.
lib.Interpolate(from, to, duration)
lib.InterpolateAnim(from, to, duration)
lib.NumberBSpline(degree, knots, control_elements, weights, evaluation)
lib.SlowInSlowOut(from, to, duration, acceleration)
lib.SlowInSlowOutAnim(from, to, duration, acceleration)
The following properties are defined in the DAStatics class and are most relevant for objects of type DANumber.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.