I use multiple video streams in my flex application. In addition, there are sounds of the user interface of the application. Is it possible to disable the entire application or should I disable each of the potential sound sources?
You tried
SoundMixer.soundTransform = new SoundTransform(0, 0);
I am sure there is no way to do this with ActionScript out of the box. You will need to have some managerial class that tracks all sounds (sound, sound channel, sound signal, etc. And your video streams) in your application and has mute logic.
firefox, swf. Mute Flash - https://addons.mozilla.org/en-US/firefox/addon/5453
, , . , Inversion of Control, .
http://en.wikipedia.org/wiki/Inversion_of_control
, Flex Locator Cairngorm.
http://www.adobe.com/devnet/flex/articles/cairngorm_pt2_06.html
, . , muteAll(), 0. , , . , . , , .
.
http://livedocs.adobe.com/flex/3/html/help.html?content=Working_with_Sound_23.html#160274
Source: https://habr.com/ru/post/1714364/More articles:What is the use of explicitly calling getters and setters like "get ..." and "install ..."? - language-agnosticMSDTC Error on First Transaction - c #What makes secureClient in cffunction safe? - securityAxis2 Deployment Exception Help - resinWhat does font size -2 mean? - htmlLearning HTML: “Wrong,” but simple, “right,” and hard? - htmlSQL Database Design Question - sqlRequest.File.Count is still set to 1 when uploading files to ASP.Net MVC detected a previous error - asp.net-mvciPhone: отправка данных на страницу php - iphoneWhat happened to my general add-in constructor? - constructorAll Articles