Microsoft SDK for Java

Animation.getAutoPlay

Retrieves 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 boolean getAutoPlay()

Return Value

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

Remarks

To set the value of the autoPlay property, use the setAutoPlay method.

See Also   setAutoPlay

© 1999 Microsoft Corporation. All rights reserved. Terms of use.