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

revGoToFramePaused animationName,{keyFrameName | frameNumber}

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
All
Security
None required
Summary
No longer supported, and included for backwards compatibility only. Moves an animation created in the Animation Builder to the specified frame.
Examples

revGoToFramePaused "Fireworks",25 -- go to frame 25
revGoToFramePaused (field "Current Animation"),(field "current Frame")

Additional Comments
Expander triangle

The revGoToFramePaused command operates on animations created with the Animation Builder, which was included in versions of Revolution older than 2.5. It is no longer supported.

Use the revGoToFramePaused command to move an animation to its starting frame before playing, or to restore it to a frame after playing.

Parameters:

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

The keyFrameName is the name of a key frame in the animation.

The frameNumber is the number of any frame.

Comments:

Animations were created with the Animation Builder, which is no longer available. It was removed in Revolution 2.5.

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

To play an animation while allowing other handlers to execute, use the revGoToFramePause command repeatedly for each frame, using the send command:

on goNextFrame theFrame -- 1 frame every 20th of a second

revGoToFramePaused "My Animation",theFrame

send ("goNextFrame" && (theFrame + 1)) to me in 3 ticks

end goNextFrame

Important! The revGoToFramePaused 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 revGoToFramePaused 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 revGoToFramePaused command can be used in any handler.

User Comments
Expander triangle