setVolume
- Started
- Last post
- 8 Responses
- effeuelle
a fast question:
with "attachSound" i have attached my sound,
but now, how can i menage my attached sound (for example with setVolume) without change the volume of all my movie?
thanks,
- ********0
you wanna be using a Sound Object and loadSound...
- ********0
my_sound.setVolume(50);
And not meaning to sound like an arse...the actionscript dictionary is really good for things like this.
- unfittoprint0
remember to limit the sound control to the Sound you've attached you should include "this":
mySound = new Sound(this);
- ********0
true MR_T, on both counts
using the Sound Object and loading the sound instead lets you have a smaller SWF though so your initial loading time is reduced ;)
- unfittoprint0
unfortunately the usage of "this" to limit the scope of the Sound Objuect is not included in the AS dictionary.
- effeuelle0
that was my problem unfittoprint !!
You are my hero,
grazie,
- effeuelle0
yes, not included in the dictionary!
- ********0
that was my problem unfittoprint !!
You are my hero,
grazie,
effeuelle
(aug 4 04, 04:55)he's an NT God