leearach2004
Technical User
Hi there,
I am creating a flash based game and have use the following actionscript to use sound effects within the game
this code runs fine for bullet ecploision and all the game sounds btu for some reason if i use the same code for the background sound when the movie loads, at first it sound fine but then as soon as one of the sound effects are trigered the background sound voulume goes very quiet, all the effects stay fine just the backgorund sound voulume changes so u can hardly hear it.
I think it may be somthing to do with me setting all the sound effect to volume 10 and the background to 20, maybee when a sound effect runs its changing the background voulme to but this is just a guess.
hope somone can help me please
lee
I am creating a flash based game and have use the following actionscript to use sound effects within the game
Code:
_root.shipsound = new Sound();
_root.shipsound.attachSound("boostexp");
_root.shipsound.setVolume(10);
_root.shipsound.start(0,0);
I think it may be somthing to do with me setting all the sound effect to volume 10 and the background to 20, maybee when a sound effect runs its changing the background voulme to but this is just a guess.
hope somone can help me please
lee