Hi,
[COLOR=black][FONT=Arial]I desperately need help!!![/FONT][/COLOR]
[COLOR=black][FONT=Arial]I’m building an application that contains different types of media, such as audio, flash movie clips and video.[/FONT][/COLOR]
[COLOR=black][FONT=Arial]My problem is that I need to be able to control the volume sound of each of this medias. I think that I’m or duplicating the sound objects or/and using 2 different techniques:[/FONT][/COLOR]
[COLOR=black][FONT=Arial]For audio and flash movie clip I defined the sound as:[/FONT][/COLOR]
[COLOR=black][FONT=Arial]mySound = new Sound();[/FONT][/COLOR]
[COLOR=black][FONT=Arial]mySound.loadSound(audioPath+audioFile, true);[/FONT][/COLOR]
[COLOR=black][FONT=Arial]mySound.setVolume(currentVolume);[/FONT][/COLOR]
[COLOR=black][FONT=Arial]For video, the definition is different:[/FONT][/COLOR]
[COLOR=black][FONT=Arial]var mySound:Sound = new Sound(vSound);[/FONT][/COLOR]
[COLOR=black][FONT=Arial]mySound.setVolume(currentVolume);[/FONT][/COLOR]
[COLOR=black][FONT=Arial]The problem stats when I switch between those 2 different types (for example, at the beginning I’m controlling the volume of an audio, when of a video and finally of audio or movie clip. Messing up between those two is not the smartest thing I have ever done).[/FONT][/COLOR]
[COLOR=black][FONT=Arial]Can somebody, PLEASE, help me?[/FONT][/COLOR]
[COLOR=black][FONT=Arial]Waiting for a reply,[/FONT][/COLOR]
[COLOR=black][FONT=Arial]Juls[/FONT][/COLOR]