Well, I have solved both the problems;
1) for the fadeIn / fadeOut question, I assume this solution: instead that
put the loadSound code on main timeline, I have done a new mc, with two
frame inside. At the first frame, insert the code below
stop();
track = new Sound();
track.loadSound("everybody.mp3", true);
track.setVolume(0);
var volume = 0;
var destVolume = 100;
setInterval(soundUpdate, 100);
function soundUpdate() {
volume += (destVolume-volume)/20;
track.setVolume(volume);
}
and at second frame the code below
stop();
var destVolume = 0;
setInterval(soundUpdate, 100);
function soundUpdate() {
volume += (destVolume-volume)/20;
track.setVolume(volume);
}
To obtain that the fadeOut effect start, the button have the below code in
rolloOver action
_root.track.gotoAndStop(2);
where 'track' is the instance name of the mc above. Now, all works fine.
2) and, always strange, now works fine in HTML page too.
Enrico Tomaselli
+> web designer <+
[EMAIL PROTECTED]
http://www.metatad.it
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders