I am building a Hype slide presentation with audio narration. I need three buttons: PAUSE/PLAY (to pause/resume both video animation and audio narration), NEXT SLIDE (next scene in Hype) and PREVIOUS SLIDE. The audio narrations I can deal with by loading an array of Howls in the "On prepare to display" slot, and I was hoping to accomplish as much as possible by repeatedly duplicating the first slide/scene and editing the active content.
I appreciate that, by using buttons that are persistent symbols, I can make the NEXT SLIDE and PREVIOUS SLIDE buttons automatically copy over from one slide to the next and that is great but, for the PAUSE/PLAY button, I need the displayed image of the button to flip according to whether its next action will be PAUSE or PLAY. I would normally do that inside a Pause/Play JS function with a style.display based on a getElementById. But how can I do that without having to write a different JS function for each slide? The problem is this button loses its unique ID in moving from slide to slide.
Any advice much appreciated.