Hi,
Why no matter what I try, i cannot control an individual sound volume?
I've created a blank movie clip named 'Music' and placed it off stage.
I've added this AS on the first frame
The music plays for a split second at the lower volume then continues at full volume.
Else where I have then tried to control the volume with a button with the following code...
But it does nothing?
I've hunted for threads and they all say the same, attach the sound to a movie clip, but I've done that and it doesn't seem to work?
I've put a trace on the 'Music' instance and it comes back as
So I'm definately referencing the movie clip correctly?
Any ideas?
Thanks, 1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts
Why no matter what I try, i cannot control an individual sound volume?
I've created a blank movie clip named 'Music' and placed it off stage.
I've added this AS on the first frame
Code:
var myMusic = new Sound(this);
myMusic.attachSound("Muz");
myMusic.setVolume(50);
myMusic.start();
The music plays for a split second at the lower volume then continues at full volume.
Else where I have then tried to control the volume with a button with the following code...
Code:
_level0.Music.myMusic.setVolume(0);
But it does nothing?
I've hunted for threads and they all say the same, attach the sound to a movie clip, but I've done that and it doesn't seem to work?
I've put a trace on the 'Music' instance and it comes back as
Code:
_level0.Music
So I'm definately referencing the movie clip correctly?
Any ideas?
Thanks, 1DMF.
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts