Skip to main content
Participating Frequently
October 2, 2012
Question

Sound playing issue

  • October 2, 2012
  • 1 reply
  • 1915 views

Hi there! Im new to this, so please excuse me if I have done something incorrect. I am having troubles with sound on my flash game. The weird thing is, the sound plays perfectly fine when I test the scene but not when I test the movie. The previous scenes work fine and I have used the same coding and actions, but for some reason its just this scene.I am willing to send my file to anyone willing to help if it would help them understand what i mean. Please help!

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
October 2, 2012

what code do you use to play your sound or, is your sound attached to a timeline?

Participating Frequently
October 3, 2012

Hi Kglad.

Thank you so very much for responding. I hope you can help! I have the sound attached on the timeline, I think. I just created a new layer then dragged the sound file from the library to the stage. On previous scenes the sound plays automatically, but for some reason from this scene onwards it does not. On the previous scene of this one, I have used the code for the "next" button:

on (press) {stopAllSounds();

}

I originally thought this was the problem because I am stopping all sounds, but it just doesnt make sense to me because I have the exact code on other scenes and the following scene plays sound automatically with no problem.

Would it be easier if I sent you the file?

Participating Frequently
October 4, 2012

Yes, but it is linked to the "Next Button"


Sorry, what I meant was that stop all sounds is not on the frame that contains the tiger sound, but it is on the next button.