Copy link to clipboard
Copied
Hi there, I'm wondering if anybody has had trouble with Shared Actions whereby you run the preview in Captivate and even though you have said to hide say all the captions and pictures relating to buttons all pictures and captions still appear and it is not until you click a button to reveal these objects that the other objects disappear accordingly. Would love to hear your thoughts and if you have any ideas why this is not working Cheers Rikki
I think you forgot to hide the c and p group. to start with? Either you set them hidden in output in their Properties panel or you use the On Enter action of the slide to hide.
Mostly I prefer the second scenario myself, because the slide will be reset when coming back to it. That On Enter action will look like this:
You can turn this in a shared action as well, with two parameters. In case you are using Captivate 9, I recommend to have a look at the states as well.
...Copy link to clipboard
Copied
This is an example of what I am doing
I have created three smart shapes with different text inside them such as classroom training, onsite training and elearning. Then I have selected all and converted them to a button giving each button a name such as b1, b2 and b3..
I have set up three captions relating to classroom training, onsite training and elearning and have given them each an appropriate name such as c1, c2 and c3. I have then grouped these to be AllCaptions
I have then inserted three pictures calling them respectively p1, p2, p3. I have grouped these as AllPictures
I then select the button and go to Advanced Actions and give the script name RevealObjects
First line reads Hide AllCaptions
Second line read Hide AllPictures
Third line reads Show c1
Fourth line reads Show p1
I then save as Shared Actions and add the appropriate parameter names and a description.
I then save this and the dialog box closes.
I then select the button b1 and select Actions and select Execute Shared Actions and set up the correct fields with Hide AllCaptions, Hide AllPictures and then Show c1, Show p1.
I do exactly the same for the second and third button but specifiy c2 and p2, then I select the next button and specify c3 and p3.
I then preview the project and unfortunately this slide shows everything until I click on the first button and then the script works fine but how do I stop the preview of the slide to display everything even though I have created the script with Hide AllCaptions and Hide AllPictures?
Help!
Copy link to clipboard
Copied
I think you forgot to hide the c and p group. to start with? Either you set them hidden in output in their Properties panel or you use the On Enter action of the slide to hide.
Mostly I prefer the second scenario myself, because the slide will be reset when coming back to it. That On Enter action will look like this:
You can turn this in a shared action as well, with two parameters. In case you are using Captivate 9, I recommend to have a look at the states as well.
Copy link to clipboard
Copied
Hi Lilybiri,
Thank you for answering this question most appreciated.