if (value) {
audio.play();
helper.add(audio);
} else {
helper._clearAudio(audio)
audio.pause()
}
I try to do this,but after my audio is over,there is a little part of the audio playing.This lead to next Animation and audio are not synchronized