I am very much a beginner to Captivate so I apologise if this is a basic question.
I have to a few edits to a piece of work that has already been made.
The main audio is playing, but i want it to pause when i hover over a shape, and different audio attatched to that shape to start playing,
then for the main audio to resume when you hover off.
I have multiple shapes that need to be hovered over and have the same function.
I'm sure someone can help me!
Not a basic question at all.
First, be aware that hover (rollover or mouseover) is not detected on mobile devices (phones and tablets). It is only useful if you know that your learners will be using computers. Mobile devices need to use clicks (taps) to trigger actions.
Flash (publishing as SWF) is necessary if you use the old rollover objects, but flash is going extinct soon, even on computers. It is better to stay with HTML-friendly projects.
There is no way to stop background audio, not even with advanced/shared actions. If you mean slide audio, it can be paused by a pausing point of an interactive object. You can attach audio to states in a multistate object, but the hovering is not an event that could trigger an action, except if you do use JS. As Dan also pointed out, you have to be aware of the fact that rolllover is only detected on devices using a trackpad or a mouse.
Actually, the bigger concern about hover functions is that they are not 508 compliant. An alternative to what you want to accomplish could be what I did in this video here. https://youtu.be/ojWz2spuTeM
By the way, you can stop background audio on individual slides, in case that helps with your solution. Using this would turn off background audio for slides where you may have audio triggered through a button or even slide audio.