addDABehavior Method

Internet Development Index

Adds a Microsoft® DirectAnimation® behavior (DABehavior class) to the run list when the behavior is not part of the animation model.

Syntax

anim:DA.addDABehavior(oBehavior, iID)

Parameters

oBehavior Required. Object that specifies the DABehavior class to add.
iID Required. Integer that specifies the identifier of the DABehavior class to add. This value is used in a subsequent call to the removeDABehavior method to remove the DABehavior class.

Return Value

No return value.

Remarks

When the system starts the animation, additional behaviors are run with the same start time as the behaviors included in the original animation.

Standards Information

There is no public standard that applies to this method.

Applies To

anim:DA