Skip to main content
March 15, 2010
Answered

Show all captions when i press a button

  • March 15, 2010
  • 1 reply
  • 1503 views

Hello.

I have a AC4 project that contains 12 slides (pages).

On each page i have a caption box that contains text.

From the button meniu i see that we can show just one item.

I want to add a button that when i press it, it will show all captions from all the pages.

It's possible?

This topic has been closed for replies.
Correct answer Lilybiri

Sorry, Alex, taking exams for the moment.Will try to help you when I'm finished here.  It is not possible any more to attach files, if you want me to send a sample, please send me a private message with you personal e-mail address. It is not wise to post it on the forum (spam-danger).

Lilybiri


Hello Alex,

Just sent you an e-mail with a sample file. For the use of other readers, here is the description of the file:

Created a small project (see attachment), hope this is what you want to do:
  • created 5 slides, each containing a Text Caption, originally invisible (I labeled them Text1, Text2 etc)
  • created the user variable v_click but no value when defining (which you did)
  • on the first slide: a visible button, attributed 1 attempt, on Failure action "Go to next slide", on Success two actions (Multiple actions, could also be done with an advanced action):
      • assign to v_click the value 1
      • show Text1 (text caption on the same slide)
  • created a first advanced action ShowSlide2:
      • check if v_click is equal to 1
      • if yes Show Text2 (text caption on slide 2)
      • no action (or whatever you want) if no
  • in the Properties of the slide 2, on Enter I attribute this advanced action ShowSlide2
  • duplicated this advanced action 3x, ShowSlide3, ShowSlide4, ShowSlide5 and edited them to change the text caption to be shown.

This is what I understood from your question,

Lilybiri

1 reply

Lilybiri
Legend
March 15, 2010

Hello,

With a button and simple actions (multiple actions too) you can only show/hide objects on the slide where the button resides.

Since you are using Captivate 4 (thinking that you mean that by AC4), you could find a solution by using a user variable and advanced actions. I'll try to explain, if you want more extensive explanation, please answer:

  • define user variable to store if the button has been clicked on the first page; I'll call it v_click
  • on success for the button click: assign the value 1 to the variable v_click; if you want at the same time show one Text Caption on the slide itself, you'll have to link multiple actions to the success: the assign action + a show action for the TC
  • create an advanced action to be triggered on entering the following slide: check if v_click=1; if yes, show the TC on that slide, if no, no action to be done
  • you'll have to duplicate this action as many times as needed, and adapt the ID of the Text Captions on the other slides.

If you want to go this way?

Lilybiri

March 15, 2010

Please tell me more.

Thanks!

L.E. If you could attach a sample it will be great.

L.L.E The button it will be on the first slide.

On each slide i have a caption that is not visible

          When i press the button located on the first slide i want AC 4 to make ALL captions visible.

March 15, 2010

This is what i've done so far:

After i asign Test action to the button, nothing happens.

What i am doing wrong?