I'm brand new to AMS and using the trial version. I'm having an issue with starting an audio file by clicking on a button. It takes two clicks to start the file playing.
Have set these button actions:
1 Audio.Load(CHANNEL_NARRATION, "AutoPlay\\Audio\\The Woods (short).ogg", false, false);
2 Audio.Play(CHANNEL_NARRATION);
3 Audio.ToggleMute(CHANNEL_NARRATION);
It works fine except that when Previewing, the first time the page is opened and the button is clicked it doesn't play the file. It takes a second click to start the audio file.
Click again (the third click) and the file stops playing (as it should).
Click again (fourth click) and the file plays - without having to click the button twice to get it started like the first time the button is clicked.
After this it continues to behave properly, one click to start playing.
It's as if the Audio.Load doesn't load the file until the second click. Then, once loaded, it works as it should, including when I go to another page and then return to the audio page...the button works on the first click.
When I leave Preview and then open Preview again the problem returns and it takes 2 clicks to get the audio file to play the first time.
Thank you!
CraigS
Have set these button actions:
1 Audio.Load(CHANNEL_NARRATION, "AutoPlay\\Audio\\The Woods (short).ogg", false, false);
2 Audio.Play(CHANNEL_NARRATION);
3 Audio.ToggleMute(CHANNEL_NARRATION);
It works fine except that when Previewing, the first time the page is opened and the button is clicked it doesn't play the file. It takes a second click to start the audio file.
Click again (the third click) and the file stops playing (as it should).
Click again (fourth click) and the file plays - without having to click the button twice to get it started like the first time the button is clicked.
After this it continues to behave properly, one click to start playing.
It's as if the Audio.Load doesn't load the file until the second click. Then, once loaded, it works as it should, including when I go to another page and then return to the audio page...the button works on the first click.
When I leave Preview and then open Preview again the problem returns and it takes 2 clicks to get the audio file to play the first time.
Thank you!
CraigS
Comment