Forum Discussion
Sound effect stops working when moving from one slide to another
lol. Now, Kai - you cant just drop in wonderful Actionscript references and not expect me to go weak at the knees! XD
I LOVED Flash and had many successful years writing games and apps in it. Wonderful wonderful program and IDE. Still miss it today....
Anyways!!!!
I cant think of any other reason your audio wouldnt play if its on a layer that you are correctly triggering to Show/Hide the layer when needed.
Does it "Hide Layer when timeline ends"? This is my only other possibility - if a layer is already showing, then giving it another SHOW command does nothing. The layer doesnt reset and will appear "not to work". Perhaps this in your case?
If not, the next thing is to share your file here if you can. That way we can both dive in and ensure that:
on mouseUp = function() {
g_kaisSound.attachSound("cheer.mp3");
g_soundThrow.start(0,1);
}
;)
LOL!
I miss Flash too, I still think in terms of ActionScript when builidng Storyline. I built in Flash for about 15 years all the way from Flash 3 I think.
The slide layer does hide when the timeline ends, I tested that too by removing that setting and doing it manually on the layer. I also made sure the layer is actually being hidden by adding a red box to the layer with no animations. Alas, it was hiding correctly.
Unfortunately, I cannot share my file, it is a senstive piece of project work.
I think I am out of ideas, my last option is to make a new slide layer from scratch and see if that helps, sometimes this works on dodgy slides so I will give a try with layers.
On a complete side note, I live just outside the city of Stoke-on-Trent in the UK, the city centre of Stoke-on-Trent is Hanley. I don't recommend a visit but amusing all the same.
Thanks for your help, much appreciated, your profile image looks familiar, do you go to any conferences?