Copy link to clipboard
Copied
Hi,
I'm trying to jump back to a previous frame within a slide. The intent is to replay the animation living on the slide. Found a couple of threads discussing frame numbers so it sounds like I'll have to grab the current frame number when the slide with the animation is entered and then add a certain number to it so I know exactly what frame to jump to.
Sure would be nice if we had something like named labels that we could add to a frame and then be able to use that label name in our actions.
Has that idea been discussed before? Nothing turned up in a quick search in this forum.
- Pete
Hers is a simple JavaScript you can use for HTML5:
var jumper = 'yourAnimationName';
window.cpCmndGotoFrameAndResume = cp.model.data[ jumper ].from;
Copy link to clipboard
Copied
Frame labels are typical for applications that have only one long timeline (Animate CC, Edge Animate, After effects......). Captivate is not really meant to have timelines that long, because each slide has its own timeline. I only rarely will use micronavigation, and never did feel that having frame labels should be a prioirty at all, meaning I never missed them.
Copy link to clipboard
Copied
Are you using just HTML5? It's possible to create a function that will jump to the frame number where an object starts. jumpToObject(object_name).
Copy link to clipboard
Copied
Here is a simple JavaScript you can execute to jump to the frame where the animation starts. HTML5 only.
var jumper = 'yourAnimationName'
window.cpCmndGotoFrameAndResume = cp.model.data[ jumper ].from;
Copy link to clipboard
Copied
Hers is a simple JavaScript you can use for HTML5:
var jumper = 'yourAnimationName';
window.cpCmndGotoFrameAndResume = cp.model.data[ jumper ].from;
Copy link to clipboard
Copied
Since everything I am building is for HTML5, this should work very well. Thanks.
However, I still think frame labels would be a very nice addition so that none programmers could easily control playback of any animations, even short ones, in their work.