In my movie, I have a jingle, that is loaded by this code:

code:-----------------------------------------------------------------------
-------track = new Sound();
track.loadSound("everybody.mp3", true);
track.setVolume(0);
vol = 0;
fade = setInterval(fadeIn, 100);
function fadeIn() {
vol += 1;
track.setVolume(vol);
if (vol>=90) {
clearInterval(fade);
}
};--------------------------------------------------------------------------
----
during playback of this jingle, is possible that happens an event (a
rollOver action) by the user that start the playback of an other audio file,
this time a talkin' human voice.
The problem is that the jingle cover the voice, or whatever the two audios
overlaps.
Therefore, I want do something that, on rollOver, do the jingle has a fast
fadeOut, starting by the volume level where it is.
How can I obtain this?


     Enrico Tomaselli
  +> web designer <+
  [EMAIL PROTECTED]
http://www.metatad.it

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to