Skip to main content
Inspiring
May 24, 2010
Answered

Using Advanced Action with ComboBox Widget--Variable does not exist

  • May 24, 2010
  • 1 reply
  • 632 views

I have a combobox that's used to select a region.  On the last tab of the combobox's properties dialog, I specify the variable name "Region".

So why, when I try to script validation for the combobox selection, is the variable "Region" not available in the dropdown.  Since I can't type a variable name, only pick from the list, this means that I can't test the value of the selection.  Frustrating.

In general, is there a way to just type ActionScript in Captivate 4, instead of using the hand-holding "Advanced Action" dialog?

Thanks.

This topic has been closed for replies.
Correct answer

Hi,

Unfortunately, you cannot type ActionScript directly in Cp4. As for your issue, try to define the variable in the variables dialog. This way, it should be available to you in the Advanced action and the widget should override the value when it runs. The variables defines by widgets are not available in advance actions unless you define them.

Whyves

____________________

www.flash-factor.com

1 reply

Correct answer
May 27, 2010

Hi,

Unfortunately, you cannot type ActionScript directly in Cp4. As for your issue, try to define the variable in the variables dialog. This way, it should be available to you in the Advanced action and the widget should override the value when it runs. The variables defines by widgets are not available in advance actions unless you define them.

Whyves

____________________

www.flash-factor.com

CarlJFinkAuthor
Inspiring
June 4, 2010

Thanks.  Sorry about the delay in answering--meanwhile I just exported the Captivate recording to Flash and used the product I'm more familiar with to script the stupid comboBox.