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

How do we use the checkbox variable?

Participant ,
Jan 09, 2016 Jan 09, 2016

I am using Cap 8. Eventually I want to set a variable to store the user's decision to play all narration automatically, or to not play the narration automatically.

A check box seems like an ideal way to let the user make this decision so I used the Checkbox widget to display only one checkbox. I successfully set the checkbox text property and entered a unique variable name (myNarrationDefault) to store the status of the checkbox. Now how do I access the variable?

I added a text field so I could show the value of that variable. However, when I try to insert a variable, I don't see the new user variable in the list. Then I tried to add an action to a button just to see if the variable shows up in that tool; it didn't.

Am I doing something wrong?

Thanks,

Pete

798
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 , Jan 09, 2016 Jan 09, 2016

You actually have to then create that variable you made in the interaction interface, CP doesn't do it for you, Project/Variables in the Menu at the top.

When the box is checked, the value is then assigned to the variable.

Translate
People's Champ ,
Jan 09, 2016 Jan 09, 2016

You actually have to then create that variable you made in the interaction interface, CP doesn't do it for you, Project/Variables in the Menu at the top.

When the box is checked, the value is then assigned to the variable.

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
LEGEND ,
Jan 09, 2016 Jan 09, 2016

Indeed, variables are never created automatically, except for a TEB.  That tip and many others are included in two blog posts I wrote, first about widgets (Flash only), second about Learning Interactions:

Using Captivate Widgets? Some tips - Captivate blog

Tips - Learning Interactions - Captivate blog

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
Participant ,
Jan 09, 2016 Jan 09, 2016

Well... thank you. That is very useful.

I've been looking for information on how to build widgets with Flash for use in Captivate and that might have answered the question before I posted. But learned that the entire process is likely to change in a few months when Flash goes away and is replaced with Adobe Animate CC.

Thanks,

Pete

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 ,
Jan 10, 2016 Jan 10, 2016
LATEST

Not sure that is actually going to change, it's still AS3. Until Captivate is no longer built on the Flash Platform or you won't publish to swf, it's still a viable solution.

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