Skip to main content
Inspiring
Feb 6, 2016 4:35 PM UTC
Answered

Button state to trigger an action

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?

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Lilybiri
    LilybiriCorrect answer
    Legend
    Sep 29, 2021 7:48 PM UTC

    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.

    4 replies

    Lilybiri
    Legend
    Feb 6, 2016 4:57 PM UTC

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

    button.

    Translate
    Participant
    Sep 29, 2021 7:39 PM UTC

    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. 

    Translate
    Lilybiri
    LilybiriCorrect answer
    Legend
    Sep 29, 2021 7:48 PM UTC

    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.

    Translate