Forum Discussion
Sound effect stops working when moving from one slide to another
Hi Kai,
The good news is, this scenario should (and does!) definitely work (as its something I have used for lots of gamified learning builds)
So, the first thing Im thinking is - is your layer properties set to "RESET TO INITIAL STATE" and "allowing seeking" = NO? If not, do both of those and test it.
Failing that, are other layers (not on your Master slide) set to close other slide layers when they open? If so, they will shut down your Master layer before it begins to play the audio potentially.
(this is why it can be very tricky to set it up like this - with layers in the Master slides) because we need to remember that we need to set every single layer in our build (whether inside or outside master) to not close other slide layers, and instead handle this all manually (or at least, be very careful and deliberate when we do let them close layers)
Its difficult to diagnose more than this without seeing the file or knowing more about your setup.
Sure, try the above and let's see :)
- KaiDean5 months agoCommunity Member
Hi Andrew.
Thanks for these. Unfortunately I tried all of these first to no avail.
The slide layer is definiately not being hidden/closed by other layers (I always turn this off everytime I create a new slide layer, I wish we could have it as a global setting!) as the visual is staying on-screen as expected plus the sound effect is working on a single slide every time. It only stops working when you move from one slide to another, it is very odd behaviour, I cannot think of any other reason why the audio would stop. Back when I was a Flash developer I used to use a comand called stopAllSounds(); which did exactly that but there is nothing I am aware of that would stop a sound from playing specifically.