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

Button state to trigger an action

Enthusiast ,
Feb 06, 2016 Feb 06, 2016

Copy link to clipboard

Copied

I'm trying to create a button that when clicked will perform multiple actions: play a short audio and jump to a slide. Is it possible to do this by assigning an action to the button Down State?

Views

305

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

correct answers 2 Correct answers

Community Expert , Feb 06, 2016 Feb 06, 2016

You never trigger an action by a state, always by the success event of the

button.

Votes

Translate

Translate
Community Expert , Sep 29, 2021 Sep 29, 2021

Not linked with the original question. You should need an advanced action like this:

   Play Audio ....

   Delay Next action by  .... seconds               where you indicate the length of the audio clip in seconds

   Go to Next Slide

 

Alternative: starting at the pausing point of the button,  put a shape with Alpha=0 and stroke width=0. Attach an audio clip to that shape and let the timeline extend for the duration of the audio clip. Trigger the action 'Continue' with the button.

Votes

Translate

Translate
Community Expert ,
Feb 06, 2016 Feb 06, 2016

Copy link to clipboard

Copied

You never trigger an action by a state, always by the success event of the

button.

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 ,
Sep 29, 2021 Sep 29, 2021

Copy link to clipboard

Copied

Do you have a solution so that when a button is clicked an audio file is played fully before jumping to the next slide? I have an advanced action set to do both, but the audio file doesnt play. It jumps right to the next slide. 

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 ,
Sep 29, 2021 Sep 29, 2021

Copy link to clipboard

Copied

Not linked with the original question. You should need an advanced action like this:

   Play Audio ....

   Delay Next action by  .... seconds               where you indicate the length of the audio clip in seconds

   Go to Next Slide

 

Alternative: starting at the pausing point of the button,  put a shape with Alpha=0 and stroke width=0. Attach an audio clip to that shape and let the timeline extend for the duration of the audio clip. Trigger the action 'Continue' with the button.

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 ,
Sep 29, 2021 Sep 29, 2021

Copy link to clipboard

Copied

LATEST

Adding the "delay next action by. . ." row did the trick! Thanks so much! 🙂

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