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

variables with button and audio

New Here ,
Oct 24, 2012 Oct 24, 2012

Copy link to clipboard

Copied

Hello,

I use C5.5

In a slide, I have 3 buttons. Each is attached to a variable.

When I click to the button 1, an highlight and a text caption with audio included appears.

I did the same actions on the other buttons.

buttons.png

I'd like after the 3 clicks to show a new button with a text caption with audio. But I don't find a solution. I try to used conditional actions based on some example of Lilybiri (template menu) but it's not doing the good think, because any button jump on a slide and return to this slide. The button appear at the beginning or not depending on the situation in the timeline.

conditional1.pngconditional2.png

Could you help me please for this ?

Thanks

Florence

TOPICS
Advanced

Views

700

Translate

Translate

Report

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 ,
Oct 24, 2012 Oct 24, 2012

Copy link to clipboard

Copied

Hi Florence,

What is the event that triggers the conditional advanced action 'Organisation'? In my template example this is triggered on entering the slide, but that has no sense here. You will have to check the condition by the same event that triggers the standard action, when clicking on each of the buttons. I have explained that also somewhere, and multiple times in threads here, but cannot remember the links. To combine the standard with the conditional action you will need a conditional action for each button. That action will have two decisions, where the first is a simulated standard action, something like this for the first button:

Decision 1 'Always'

    IF 1 is equal to 1

           Assign v_item7_1 with 1

          Show H7_1

          Show Ex7_1

Decision 2 'Check'

   IF v_item7_1 is equal to 1    AND

       v_item7_2 is equal to 1    AND

       v_item7_3 is equal to 1

           Show BtNext

          Show A7End

          ....

So the condition is checked every time a button is clicked, but the second decision will only result in TRUE when all buttons have been clicked.

Lilybiri

Votes

Translate

Translate

Report

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 ,
Oct 24, 2012 Oct 24, 2012

Copy link to clipboard

Copied

I try to find other examples of you but there are a lot

It's always vague for me so if I understand.

For this kind of slide, "on enter" field will be "continue

For each button (name Bt1, Bt2, Bt4, BtEnd), I create a conditionnal action with the actions:

Tab1 (decision "always")

IF v_item7_1 is equal to 1

Assign v_item7_1 with 1

Show H7_1

Show Ex7_1

and the tab 2 is the tab for the decision "check"

IF v_item7_1 is equal to 1    AND

       v_item7_2 is equal to 1    AND

       v_item7_3 is equal to 1

           Show BtNext

          Show A7End

          ....

But I can't save the advanced action with this.

So I suppose that I have to create a tab for each button for only one conditional actions. Then, I put this advanced actions for each button but when i click on a button, all the 3 functions.

It's very frustrating because I know the answer is closely to my nose

Votes

Translate

Translate

Report

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 ,
Oct 24, 2012 Oct 24, 2012

Copy link to clipboard

Copied

No! Read my mail correctly: the first decision (you call it tab) Always has to be executed every time, so the condition must be:

IF 1 is equal to 1

Only the 3 buttons that have to be clicked need a similar action with the 2 decisions Always and Checked. Both decisions will have to be edited for each button, of course. Here is an article about combination of standard with conditional action:

http://kb2.adobe.com/community/publishing/862/cpsid_86254.html

Always.png

Checked.png

Lilybiri

Votes

Translate

Translate

Report

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 ,
Oct 29, 2012 Oct 29, 2012

Copy link to clipboard

Copied

LATEST

Hi Lilybiri,

Thanks for your last example, it's more clear with the explanation on the link.

I test this and it's working.

Best regards

Florence

Votes

Translate

Translate

Report

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