Highlighted

CP2019 Unable to validate Condition using cpInfoCurrentframe

New Here ,
Apr 02, 2020

Copy link to clipboard

Copied

I am using latest version of Captivate 2019.

I want assign value to variable on slide end. For the this i am checking currentframe value for the validate.

See below Screengrab for more information.

Script.png

TOPICS
Advanced

Views

88

Likes

Translate

Translate

Report

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

CP2019 Unable to validate Condition using cpInfoCurrentframe

New Here ,
Apr 02, 2020

Copy link to clipboard

Copied

I am using latest version of Captivate 2019.

I want assign value to variable on slide end. For the this i am checking currentframe value for the validate.

See below Screengrab for more information.

Script.png

TOPICS
Advanced

Views

89

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 02, 2020 0
Most Valuable Participant ,
Apr 02, 2020

Copy link to clipboard

Copied

You don't tell which event is triggering this action, nor why you choose to use cpInfoCurrentFrame. Using an exact frame number is a tricky approach, because you are never completely sure it will not be the previous or the next frame.  If you did explain the goal, would be able to help you better. I have been using this system variable a lot but always with care, realizing the its population maybe be slowed down.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 02, 2020 0
RodWard LATEST
Adobe Community Professional ,
Apr 02, 2020

Copy link to clipboard

Copied

I don't think what you are doing in this case is a very good idea.  If the current frame happens to be any number other than the one you are testing for then the Assign action will not be performed.

 

How are you determining that at the very moment you are executing this Conditional Action the value of the system variable cpInfoCurrentFrame is going to be this specific number?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 02, 2020 0