<?xml version="1.0" encoding="iso-8859-1"?><rss version="2.0">
<channel><title><![CDATA[ActionScript.org Flash, Flex and ActionScript Resources - Comments for article: Dynamic Sound Fade]]></title><link>http://www.actionscript.org/resources</link><description /><language>en-us</language><copyright><![CDATA[http://www.actionscript.org/resources]]></copyright><generator>N/A</generator><webMaster>general.redirect@gmail.com</webMaster><lastBuildDate>Sun, 22 Nov 2009 13:37:47 CST</lastBuildDate><ttl>20</ttl><item><title><![CDATA[Comment #1]]></title><link>http://www.actionscript.org/resources/articles/119/1/Dynamic-Sound-Fade/Page1.html#Comment3910</link><description><![CDATA[Is great!
just have a trouble with the loweredcase setinterval near line 10. 
for those you cant make it work, type it this way: 

setInterval

thanks for this wonderfull tutorial!
<br/><br/>
(Comment posted by Nano at 8:20 pm, Tue 12th Jun 2007)]]></description><author>no@spam.com (Nano)</author><pubDate><![CDATA[Tue, 12 Jun 2007 20:20:51 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/119/1/Dynamic-Sound-Fade/Page1.html#Comment3910</guid></item><item><title><![CDATA[Comment #2]]></title><link>http://www.actionscript.org/resources/articles/119/1/Dynamic-Sound-Fade/Page1.html#Comment8209</link><description><![CDATA[For me this script worket simply like this...

music = new Sound();
music.attachSound("backsound");
music.start(0, 999999);
music.setVolume(0);
vol = 0;

step = 1;
fade = 0;

onEnterFrame = function() {
        // set fade out
        if (fade == 1) {
                vol = vol-step;
                if (vol<0) {
                        vol = 0;
                }
                music.setVolume(vol);
                // set fade in
        } else {
                vol = vol+step;
                if (vol>100) {
                        vol = 100;
                }
                music.setVolume(vol);
        }
}

soundButton.onRelease = function() {
        (_root.fade=!_root.fade) ? 1 : 0;
}

By the way... Exellent tutorial!<br/><br/>
(Comment posted by Sebastian at 6:00 am, Thu 13th Dec 2007)]]></description><author>no@spam.com (Sebastian)</author><pubDate><![CDATA[Thu, 13 Dec 2007 06:00:51 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/119/1/Dynamic-Sound-Fade/Page1.html#Comment8209</guid></item></channel></rss>