Hey guys,
I've been trying to achieve what should be a simple task. In the timeline actions, on stop, am pausing an audio and on play am playing the audio.
Now, the weird thing is, the timeline play event is accessing the timeline stop event. this shouldn't happen, it should be very straightforward. In other words, whatever code i put on timeline play doesn't work since it's accessing the timeline stop actions...
the code is the following
Symbol.bindTimelineAction(compId, symbolName, "Default Timeline", "play", function(sym, e) {
// Play the audio track.
sym.$("Chapter_Section1wav3")[0].play();
});
//Edge binding end
Symbol.bindTimelineAction(compId, symbolName, "Default Timeline", "stop", function(sym, e) {
// Pause the audio track.
sym.$("Chapter_Section1wav3")[0].pause();
});
//Edge binding end
I appreciate any help given, thx.