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?
- AndrewHanley4 months agoCommunity Member
Kai Dean
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?
Yeah I get a royalty every year for them to use my name in their town :P
I know Stoke on Trent well. Nice part of the world. Think Ive only visited Hanley once though... and cant remember it, so maybe that says it all!Re: conferences. Its been a while since I did any of those so I dont think its from that you know me. Maybe the old Flash community and forums etc?
The last conferences I attended where for mobile apps, and the last conferences I spoke at where alll the way back when I started in game development and was blessed to get to the big shows round the world and play with the newest tech and consoles etc. From there I went to multimedia development (in the awesome Macromedia Director! RIP) and from there to Flash AS for games and mobile apps, and then in to Flash eLearning (manual SCORM packaging is fun!) and from there to Storyline.- KaiDean4 months agoCommunity Member
Sorry I missed your replies, for some reason I do not get any notification of replies on here.
I had to deliver a version of the project today so I decided to omit the sound effect for now and have another go at it once it finishes the first round of reviews.
Thanks for trying to help out.
- EricSantos3 months agoStaff
I'm glad to see that Andrew is helping you out, Kai! I just want to chime in that if you're not getting reply notifications in your email, please check if you are subscribed to the discussion by looking at the top of the post and clicking on the Subscribe button as needed. You may need to check your email Spam filters if necessary.