Skip to main content
trevorh27446796
Participating Frequently
November 21, 2018
Question

Sound

  • November 21, 2018
  • 2 replies
  • 140 views

I have a sound file that i would like to be played from the press of a button, when the sound has finished i would then like to display another image

any ideas how this can work?

    This topic has been closed for replies.

    2 replies

    Lilybiri
    Legend
    November 21, 2018

    Which version are you using, please? The Delay Next Actions by… appeared with CP9.

    Make the image invisible in output, using the eye button in the Properties panel of the image. Use the Success event of the button to launch an advanced or shared action with three commands:

    • Play audio...
    • Delay Next Actions by….     
    • Show Image

    If the audio clip is pretty long, make the delay time higher than the duration of the audio clip. 

    If you don't have the Delay Next Actions command, will try to offer an alternative.

    trevorh27446796
    Participating Frequently
    November 21, 2018

    thankyou

    RodWard
    Community Expert
    Community Expert
    November 21, 2018

    Use the Play Audio action from a Standard Advanced Action to play the sound, then the next line on the Actions list should Delay the Next Action by [approximate duration of the sound file] followed by a third action that SHOWs the hidden image.

    trevorh27446796
    Participating Frequently
    November 21, 2018

    thankyou