Sets a boolean value indicating whether the Animation control will start to play an animation file as soon as the animation file is loaded.
public final void setAutoPlay( boolean value )
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.
To get the value of the autoPlay property, use the getAutoPlay method.
See Also getAutoPlay