Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Frame Labels?

Explorer ,
Mar 14, 2016 Mar 14, 2016

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

758
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , Mar 14, 2016 Mar 14, 2016

Hers is a simple JavaScript you can use for HTML5:

var jumper = 'yourAnimationName';

window.cpCmndGotoFrameAndResume = cp.model.data[ jumper ].from;

Translate
Community Expert ,
Mar 14, 2016 Mar 14, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Mar 14, 2016 Mar 14, 2016

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).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Mar 14, 2016 Mar 14, 2016

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;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Mar 14, 2016 Mar 14, 2016

Hers is a simple JavaScript you can use for HTML5:

var jumper = 'yourAnimationName';

window.cpCmndGotoFrameAndResume = cp.model.data[ jumper ].from;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 14, 2016 Mar 14, 2016
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources