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

Advanced action NOT working in the Flash output

New Here ,
Sep 07, 2016 Sep 07, 2016

Hi there,

I've created an online module with Captivate 9 using an advanced conditional action to show the next button upon completion of 2 sections.

The trigger is working fine in the HTML5 output but it is not working in the Flash output: users need to revisit the slide with the advanced action a second time in order to show the next button.

This is the advanced action created:

advanced_action.png

Please help. Thanks,

Lisa

251
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

Community Expert , Sep 07, 2016 Sep 07, 2016

Change the order in the standard action, put Jump to slide as last command, or at least after the increment command.  Actions are executed in sequence, if you jump first to that slide, where the On Enter event is executed, the variable was not yet incremented. Try to see if it solves the issue. HTML is different from SWF to react (it is converted to JS whereas for SWF to AS).

You didn't post the timeline screenshot.

Moreover as I pointed already out, I would add Continue to the THEN part and also

...
Translate
Community Expert ,
Sep 07, 2016 Sep 07, 2016

Which event is triggering that action? What is the ELSE part? Can you post a screenshot of the timeline? If this action is triggered by an interactive object Success event, can you select that object when taking the timeline screenshot? If it is the On Enter event of a slide, maybe you have to add 'Continue' to the THEN and ELSE part of the conditional action. How is the variable incremented, by which event and action?

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
New Here ,
Sep 07, 2016 Sep 07, 2016

The action is triggered by the On Enter event "Execute Advanced Actions" and the ELSE part is empty.

The variable is incremented using an advanced action in the last slide of each of the sections that need to be completed by users:

advanced_action_02.png

Thanks!

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 ,
Sep 07, 2016 Sep 07, 2016

Change the order in the standard action, put Jump to slide as last command, or at least after the increment command.  Actions are executed in sequence, if you jump first to that slide, where the On Enter event is executed, the variable was not yet incremented. Try to see if it solves the issue. HTML is different from SWF to react (it is converted to JS whereas for SWF to AS).

You didn't post the timeline screenshot.

Moreover as I pointed already out, I would add Continue to the THEN part and also to the ELSE part. I learned that in some circumstances a conditional action with only one decision and no ELSE part seems not to be functioning well. It is no problem if you have several decisions.

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
New Here ,
Sep 07, 2016 Sep 07, 2016

I've applied all the suggestions but this did not solve the issue: the trigger is still working only in the HTML version.

You can find below a screenshot of the timeline:

advanced_action_03.png

Is there a chance to send you the C9 source file so that you can have a look? Thanks!

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 ,
Sep 07, 2016 Sep 07, 2016

You have 4 interactive objects on that slide, the three buttons on top, and there is a SmartShape_726 configured as button. The three buttons pause at the same moment, which is fine. What is that SmartShape doing? Do you have Infinite attempts for the 4 interactive objects?

Sorry, I'm just a user trying to help other users. Staff member may accept to debug files, but I decided not to.

Another tip: avoid using the same name for two different 'things'. I see that you use the name of the action also for the decision, avoid it. I once had an advanced action flipping because I used a decision name that was already somewhere in use.

Mostly my approach for this very common use case would be different, I would turn the Standard action into a conditional advanced action with two decisions. The first (IF 1 is equal to 1) would have the commands that you have now, with Jump to Slide as last command. The second decision would check the value of the variable and show the Button_Summary. I also wonder if Increment is a good idea: what if the user looks twice at the same section? The variable would be incremented twice. Unless you disable the button to the section that has already been visited.

To avoid this: use two variables, one for each section, with a default value of 0. Instead of incrementing, assign it the value = 1 with the Return button on the last slide of the section. Change the condition to:

   IF v_one is equal to 1  AND

       v_two is equal to 1

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
New Here ,
Sep 08, 2016 Sep 08, 2016

I've solved the issue just changing the order of the actions in the "complete_1" action, moving Increment in the first place, thanks a lot for your help, much appreciated

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 ,
Sep 08, 2016 Sep 08, 2016
LATEST

You're welcome, glad it works now.

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