Partager via


addDABehavior Method

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

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. An Object that specifies the DABehavior class to add.
iID Required. An 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.

Applies To

anim:DA