Animation.setAutoPlay

Overview | Methods | This Package | All Packages

Animation.setAutoPlay

Sets a boolean value indicating whether the Animation control will start to play an animation file as soon as the animation file is loaded.

Syntax

public final void setAutoPlay( boolean value )

Parameters

value

Set to true if the control automatically starts playing an animation file as soon as the file is opened; otherwise, set to false. If getAutoPlay returns false, the Animation control does not start playing the animation file until the start method is called. The default value is false.

Remarks

To get the value of the autoPlay property, use the getAutoPlay method.

See Also   getAutoPlay