PDA

View Full Version : [MX] Is it possible to mute WITHOUT sound objects?



lowprofile
December 18th, 2003, 05:22 AM
Hi,
I have some sounds in movie clips, this is because that is the only way to be able to select SYNC Stream mode (to keep the movie in sync with the narration). Thus I don't want to use Sound Objects because they can get out of sync...

Is there any way to control volume (so I can mute) with out using Sound Objects ?

Clown Staples
December 19th, 2003, 11:57 PM
snd = new Sound(_root);
snd.setVolume(42);

this should work

senocular
December 20th, 2003, 12:03 AM
lol. Its still using sound objects :P

but clownstaples is right lowprofile. Just be concious of the fact that where clownstaples put _root, you would use the movieclip containing your streamed sound. Then you can mute the volume for that movieclip. The sound object in this case isnt a vehicle for playing sounds, but rather adjusting the volume of sounds of the given timeline.