Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make sounds work properly?

Status
Not open for further replies.

Gabbe

Programmer
Jan 29, 2002
9
SE
I´m working on a game. first I added a background music putting it in a layer. then when you jump in the game it plays a sound object. Now I added an area were is should play a certain soundobject, it starts it when you enter and stops when you exit also it fades in the volume depending on your x position. but now the background music doesn´t play and the jump sound only works within the soundarea. As if the setvolume for that soundobject affects all the sounds.. plz help!
 
i think i've run into this problem before when loading sounds from external files, if i remember corectly it works if you use
blah = new Sound(this)
or something along thoose lines. i'll look again when i get home and have acess to my flash stuff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top