|
From: | Sandro Santilli |
Subject: | [Gnash-commit] [bug #35984] I Love Traffic is not able to mute it's sound on Gnash |
Date: | Thu, 29 Mar 2012 15:15:39 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 |
Update of bug #35984 (project gnash): Release: other => master Status: None => Confirmed _______________________________________________________ Follow-up Comment #1: Here's the code: var globalSound = new Sound(this); var muted = false; sign.popUpMenu.muteButton.onRelease = function () { muted = !muted; if( muted ) { globalSound.setVolume(0); } else { globalSound.setVolume(100); } }; _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35984> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |