Error getting tags :
error 404Error getting tags :
error 404 revStopAnimation | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revStopAnimation
Basics
Expander triangle
Type
Command
Syntax

revStopAnimation animationName

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
All
Security
None required
Summary
No longer supported and included for backwards compatibility, halts an animation created with the Animation Builder in Revolution versions older than 2.5.
Examples

revStopAnimation "Flying Circus"
revStopAnimation (the animName of the target)

Additional Comments
Expander triangle

The revStopAnimation command is no longer supported as the Animation Builder was removed in Revolution 2.5, however it is included for backwards compatibility with older applications that used the Animation Builder.

Use the revStopAnimation command from within a handler that's triggered by a key frame to stop the current animation from playing.

Parameters:

The animationName is an expression that evaluates to the name of an animation on the current card.

Comments:

Animations were created using the Animation Builder in old versions of Revolution. The Animation builder is no longer available.

The animationName must be an animation that was created on the current card of the defaultStack.

Important! The revStopAnimation command is part of the Animation library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions section on the General screen of the Standalone Application Settings window, make sure that "Animation Library" is selected in the list of script libraries.

Note: When included in a standalone application, the Animation library is implemented as a hidden group and made available when the group receives its first openBackground message. During the first part of the application's startup process, before this message is sent, the revStopAnimation command is not yet available. This may affect attempts to use this command in startup, preOpenStack, openStack, or preOpenCardhandlers in the main stack. Once the application has finished starting up, the library is available and the revStopAnimation command can be used in any handler.

User Comments
Expander triangle