For test purposes i made this little demo to show off global as3 volume control. It is ready to publish on android and ios with the help of flash develop template (AIR Mobile AS3 app).

Touch events will only fire when the app is running on your device, not in the simulator.

package
{
import flash.desktop.NativeApplication;
import flash.display.MovieClip;
import flash.events.Event;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.ui.Multitouch;
import flash.ui.MultitouchInputMode;
import flash.net.URLRequest ;
import flash.media.Sound ;
import flash.display.Loader ;
import flash.display.Bitmap ;
import flash.events.TouchEvent ;
import flash.media.SoundMixer;
import flash.media.SoundTransform;
/*
* ...
* @author Nicusor Vasilescu
*/
public class Main extends Sprite
{
    private var req:URLRequest ;
    private var s:Sound ;
    private var btnOff:Bitmap ;
    private var btnOn:Bitmap ;
    private var mcOff:MovieClip = new MovieClip();
    private var mcOn:MovieClip = new MovieClip();
    
    public function Main():void
    {
        stage.scaleMode = StageScaleMode.NO_SCALE;
        stage.align = StageAlign.TOP_LEFT;
        stage.addEventListener(Event.DEACTIVATE, deactivate);
        
        // touch or gesture?
        Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
        
        req = new URLRequest("demo.mp3");
        s = new Sound(req);
        s.play();
        
        addChild(mcOff);
        addChild(mcOn);
        
        mcOff.name = "mcOff";
        mcOn.name = "mcOn";
        
        var loader:Loader = new Loader();
        var urlReq:URLRequest = new URLRequest("off.jpg");
        loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded);
        loader.load(urlReq);
        
        var loader2:Loader = new Loader();
        var urlReq2:URLRequest = new URLRequest("on.jpg");
        loader2.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded2);
        loader2.load(urlReq2);
        
        mcOff.addEventListener(TouchEvent.TOUCH_END , btnTouched);
        mcOn.addEventListener(TouchEvent.TOUCH_END , btnTouched);
        
        mcOn.visible = false ;
    }
    
    private function btnTouched(e:TouchEvent) {
        trace (e.currentTarget.name);
        
        switch(e.currentTarget.name) {
            case "mcOff":
            mcOff.visible = false ;
            mcOn.visible = true ;
            SoundMixer.soundTransform = new SoundTransform(0);
            break ;
            
            case "mcOn":
            mcOff.visible = true ;
            mcOn.visible = false;
            SoundMixer.soundTransform = new SoundTransform(1);
            break ;
        }
    }
    
        private function loaded(e:Event):void
        {
            btnOff = e.target.content as Bitmap;
            mcOff.addChild(btnOff);
            mcOff.x = (stage.stageWidth - btnOff.width) / 2 ;
            mcOff.y = (stage.stageHeight - btnOff.height) / 2 ;
        }
    
        private function loaded2(e:Event):void
        {
            btnOn = e.target.content as Bitmap;
            mcOn.addChild(btnOn);
            mcOn.x = (stage.stageWidth - btnOn.width) / 2 ;
            mcOn.y = (stage.stageHeight - btnOn.height) / 2 ;
        }
    
        private function deactivate(e:Event):void
        {
        // auto-close
            NativeApplication.nativeApplication.exit();
        }
    
    }

}