what do you mean by "frame" and "frame number"? How do I store a frame number in v_frame?
Jessica, I answered your other thread. Please, can you have a look at the article about Timeline?
Each video and film plays with a certain frame rate: number of frames per second. For Captivate the default frame rate is 30FPS. That means that a slide with a default duration of 3secs has 90 frames. What I explained is that you can navigate to a certain frame on a slide, using the system variable cpCmndGotoFrame or cpCmndGotoFrameAnd Resume. I call that work flow 'micro navigation' and wrote an article about it (well-visited, seems like that word has been adapted by many CP-users):
Micro-Navigation in Adobe Captivate - Captivate blog
When the user clicks a button on the slide it will be in the active part, before the pausing point. Using this command:
Assign v_frame with cpInfoCurrentFrame
that variable will store the frame number where the button was clicked.
When coming back to the slide the conditional advanced action will check the value of v_frame:
IF v_frame is greater than 0
Expression cpCmndGotoFrameAndResume = v_frame - 2
ELSE
Continue
I use the Expression command instead of Assign because it is possible that the user has clicked just on the pausing point, and I want to be sure that he is returned to a location before that pausing point, in the active part of the button. For that reason I subtract 2 (frames) from the value in v_frame.