Page 1 of 1

Eos editor,How to let the sound stop at a specific step

Posted: Tue Jul 02, 2019 12:20 pm
by SDEN841877047
:-( :-( I am trying to make a tease game, I am the first time to tease with eos, I have a problem, like the picture, I inserted the sound in the third step, but I want to stop playing this sound at the end of the countdown. But I don't know how to do it, do I need to use the code? I don't know the code, I haven't learned programming. If there is any code collection, please let me know, thank you very much!(Note:I am not very good at English :blush: :blush: :blush: :blush: :blush: ).

Re: Eos editor,How to let the sound stop at a specific step

Posted: Tue Jul 02, 2019 3:53 pm
by Drool
The easiest way to make a sound stop playing is to go to a new page. ;-)

Re: Eos editor,How to let the sound stop at a specific step

Posted: Wed Jul 03, 2019 3:58 am
by RemiHiyama
You can do it with javascript.

Code: Select all

Sound.get('example').pause()
Replace 'example' with the id of the Audio:Play action, put it in an eval action, and it should work.