Skip navigation
Currently Being Moderated

Help displaying Instructional Objectives 1-at-a-time using mouse down on a button on one screen.

Sep 24, 2012 10:19 AM

Tags: #button #captivate6 #increment_variable

I am brand new to Captivate 6 and have encountered my first coding problem. I have six instructional objectives and would like to display them one at a time with a mouse click on a button. I would like some guidance either with making what I a trying to do work or in the alternative telling me what I should be doing instead. Here is what I tried to do.

 

1. I created 6 instructional objectives on a single screen.

 

2. Then I created a user variable "increment_objectives." It's starting value was set to 0.

 

3. Next, I built an advanced conditional action. It contained seven conditional  statements, each built the same way. The purpose of the seventh was to move to the next slide after all instructional objectives were viewed.

 

The advanced conditional action IF statement was:  If increment_objectives = x  then (where x varied from 0 to 7)

The ACTION statements contained the names of the six instruction objectives (objective_1 through objective_6) and these were either shown or hidden, based upon the increment_objectives value.

 

4. This advanced conditional action was attached to the enter frame on the slide and "no action" was on the exit frame on the slide.

 

5. On a Button I attached an increment value that added 1 to increment_objectives variable.

 

6. I set all frame objects to "duration of slide" turning off all timing increments.

 

I had expected that this would increment the increment_objectives variable when the mouse was clicked and that the advanced actions conditional statements would be interpreted and display the objectives one at a time. How wrong I was. Not only did they not display, but after a few seconds, the screen would flip to the next slide.

 

Can you offer me some help?

 

Rod Wolford

 
Replies
  • Currently Being Moderated
    Sep 24, 2012 1:03 PM   in reply to Rod@FOF

    Hi Rod

     

    What did you use to trigger calling the Advanced Action? From what you just described, there is nothing to trigger the action. At least beyond the initial triggering upon entering the slide.

     

    Normally you want a Button or Click Box or other trigger to call the Advanced Action after each interaction.

     

    Hope this helps a smidge... Rick

     

    Helpful and Handy Links

    Captivate Wish Form/Bug Reporting Form

    Adobe Certified Captivate Training

    SorcerStone Blog

    Captivate eBooks

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 24, 2012 4:35 PM   in reply to Rod@FOF

    Hi Rod

     

    Yes, you would increment the counter in the Advanced Action. As it stands, the slide is entered and the advanced action is triggered. The button click only increments the counter. You need to amend the Advanced Action to increment the counter, then perform the evaluation.

     

    Hope this helps... Rick

     

    Helpful and Handy Links

    Captivate Wish Form/Bug Reporting Form

    Adobe Certified Captivate Training

    SorcerStone Blog

    Captivate eBooks

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 24, 2012 6:01 PM   in reply to Rod@FOF

    Thanks for using one of our widgets.  I was thinking of suggesting that you use the Event Handler because it has preference settings to Disable Continue and Reset Success/Fail Criteria that effectively allow you to pause the slide while merrily clicking on something to trigger actions.  But it looks like you found that anyway.

     

    As for debugging what's going on inside Captivate, you may find this post useful:

    http://www.infosemantics.com.au/widgetking/?s=cpxray

     

     

    
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points