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

Changing state/class of objects in conditional actions

Guest
Jul 11, 2016 Jul 11, 2016

Hello,

I've recently transferred from doing some work in Articulate Storyline 2 to doing some work in Captivate 9 to take advantage of the responsive design feature. One feature that I currently miss and am unable to find is a way to change the state of objects as a result of conditional actions. This is functionality that I frequently take advantage of in JavaScript as well, so finding out whether this is possible in Captivate is going to be key to the success of any work I do.

In particular, I would like to be able to change the state of an object when the value of a variable changes. I would also like to be able change the value of a variable based on the state of an object and display the value of that variable on screen.

Would any of this be possible in Captivate? If so, would anyone be so kind as to post a description?

Any help is appreciated!

Thank you in advance,

Shaun

295
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
Community Expert ,
Jul 11, 2016 Jul 11, 2016
LATEST

Maybe having a look at this article I wrote a while ago:

1 action = 5 Toggle Buttons - Captivate blog

There is a conditional shared action that changes states based on the value of a Boolean variable, both system and user variables can be used as parameters in that action.

To insert a variable on the slide, use the X button in the Character part of the Properties panel for a text container (which can be a shape or a caption). The variable will appear enclosed in $$, on runtime it will show the value. The default length that will be shown is 50 characters but you can change the length if you expect longer variables. That is one of the reasons I do not recommend to type in the variable between double $ signs, because you don't get a dialog box where you can change the length of the variable.

VarXbutton.png

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