PDA

View Full Version : Fade in and fade out audio with as



nnnswordfish
June 4th, 2008, 04:50 PM
hi again :) i load my sound like this on frame 1


mysound = new Sound();
mysound.loadSound("1.mp3", true);
mysound.setVolume(100);
mysound.onSoundComplete = function ()
{
mysound.start(0);
};
stop ();but on frame 2 i want to fade out mysound with as(set folum on 0 with fade out) and on frame 7 to fade in (to set volume again on 100 with fade in)

can some one helps :)