as2.0에서 컨텍스트 메뉴를 다룰줄 안다는 전제하에 작성합니다.


var sound:Sound = new Sound(this);
sound.setVolume(0);

function contextMenuFunc()
{
    function 정지handler(obj, item)
    {
        _root.a.pause();
        gotoAndStop(2);
    } // End of the function
    function 재생handler(obj, item)
    {
        _root.a.play();
        gotoAndStop(1);
    } // End of the function
    function getUrlHandler(obj, item)
    {
        getURL(\"http://www.realminah.wo.tc/\", \"_blank\");
    } // End of the function
    function itemhandler(obj, item)
    {
        getURL(\"http://gall.dcinside.com/list.php?id=mina\", \"_blank\");
    } // End of the function
    var _loc2 = new ContextMenu();
    _loc2.hideBuiltInItems();
    
        var _loc3 = new ContextMenuItem(\"신민아갤러리\", itemhandler);
    var _loc5 = new ContextMenuItem(\"레알민아갤로그\", getUrlHandler,true);
        var _loc6 = new ContextMenuItem(\"사운드ON\", SOUNDON);
        var _loc7 = new ContextMenuItem(\"사운드OFF\", SOUNDOFF);
         function SOUNDON(obj, item)
    {
         sound.setVolume(100);
    } // End of the function
                 function SOUNDOFF(obj, item)
    {
         sound.setVolume(0);
    } // End of the function
    _loc2.customItems.push(_loc4);
    _loc2.customItems.push(_loc6);
        _loc2.customItems.push(_loc7);
    _loc2.customItems.push(_loc5);
    _loc2.customItems.push(_loc3);

    _root.menu = _loc2;
} // End of the function
contextMenuFunc();


import mx.video.*;

a.autoRewind = true;
var listenerObject:Object = new Object();
listenerObject.rewind = function(eventObject:Object) {
a.play();        
};
a.addEventListener(\"rewind\", listenerObject);

일단 제 시계에 사용된 컨텍스트메뉴 스크립트 전문입니다.

여기서 보실건

var sound:Sound = new Sound(this);
sound.setVolume(0);


        var _loc6 = new ContextMenuItem(\"사운드ON\", SOUNDON);
        var _loc7 = new ContextMenuItem(\"사운드OFF\", SOUNDOFF);
         function SOUNDON(obj, item)
    {
         sound.setVolume(100);
    } // End of the function
                 function SOUNDOFF(obj, item)
    {
         sound.setVolume(0);
    } // End of the function

부분만 보시면되겠네여

먼저 루트타임라인의 사운드를 명명해줍시다.

var sound:Sound = new Sound(this);

이 첫줄이 바로 그걸 의미하구여

두번째줄에 sound.setVolume(0);라고 액션을 짠이유는

플래시가 첫 재생시에는 소리가 나오지않은 상태로 하기위해섭니다

그러지 않기를 바라면 그냥 이액션을 지워주시면되빈다.

        var _loc6 = new ContextMenuItem(\"사운드ON\", SOUNDON);
        var _loc7 = new ContextMenuItem(\"사운드OFF\", SOUNDOFF);

이부분은 보시면 아시겠지만 컨텍스트메뉴구요.. 

컨텍스트메뉴가 아닌 버튼이나 다른 방법으로 액션 응용하셔도 무관하빈다.

무슨 방법을 쓰든간에, 액션조건에 만족할시 실행될 명령어로  sound.setVolume(볼륨크기);를 넣어주심됩니다

         sound.setVolume(100); -> 100일경우에는 영상 본연의 소리크기로 재생되구요
         sound.setVolume(0); -> 0일경우에는 볼륨이 0 이므로 음소거 상태로 재생되겠죠

참 쉽죠?

참고로 이건 플레이백 영상의 소리를 조절하는건아니고, 루트타임라인의 사운드를 조절하는겁니다

타임라인내에 플백이 존재하기때문에 그게그거지만 혹시나해서 적어놓습니당