Skip to main content
Participant
October 25, 2020
Question

Button audio playing even though button not pressed

  • October 25, 2020
  • 1 reply
  • 175 views

I put audio in a button that's supposed to play when pressed (and it does).  

But it's also playing from the beginning of the slide, even when all the tracks in the timeline are hidden.

Any idea how I have the audio only play when the button is pushed?

Thanks in advance!

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    October 25, 2020

    Most essential detail is missing in your question. HOW are you playing the audio? From your description I can guess that you attached the audio to the button as object audio. If that is indeed the case, it is normal that the audio plays when the button appears. If the button appears from the first frame of the slide it will indeed play from the beginning of the slide.

    If you want the audio to play only when it is pressed, you need to use the command 'Play Audio' eventually combined with other commands in an advanced action to be triggered by the Success event of the audio. Do not use any other type of audio.

     

    I am confused by your statement about hidden timelines. What do you mean, please? If you hide an item in the Timeline panel, that will not be reflected in output at all. Maybe have a look at this blog post:

    http://blog.lilybiri.com/1-2-3-eye-buttons-mystery-2