Animation.addOnStart

Overview | Methods | This Package | All Packages

Animation.addOnStart

Assigns a delegate to the start event.

Syntax

public final void addOnStart( EventHandler value )

Parameters

value

The EventHandler delegate to be notified when the event occurs.

Remarks

Passing an event handler as a parameter to this method is equivalent to setting the start event to that method in the Properties window. The start event occurs when an animation file starts playing in the Animation control.

See Also   removeOnStart