How to stop timers in nested code

Hi all I have a media player with nested code that calls the start of new playback upon completion of a previous file
Code example

function LoadNext_T(e:Event = null):void     // set next theme
{
    if (A_play)  {
     nextA = new Sound();
     nextA.addEventListener(Event.COMPLETE, PlayNextTheme,false, 0, true);
     nextA.load(gettheme);      
    }
    else    {
      nextB = new Sound();
      nextB.addEventListener(Event.COMPLETE, PlayNextTheme,false, 0, true);
      nextB.load(gettheme);      
    }   
}

function PlayNextTheme(e:Event):void    
{
        if (A_play) {
            ThemeLong = nextA.length; 
            SC_A.soundTransform = volumeform_AB;                                                            
        }
        else   {
            ThemeLong = nextB.length; 
            SC_B.soundTransform = volumeform_AB;            
        }
    var timer_AB: Timer = new Timer(ThemeLong - dt,1);  
    if (special conditions met) {
timer_AB.addEventListener(TimerEvent.TIMER, LoadNext_T,false, 0, true); 
        timer_AB.start();    
}

I wish to stop all timers when I hit my STOP button, but when writing a function like below, I just get an error saying “1120: Access of undefined property timer_AB.” or such.


function STOP_ALL_TIMERS():void
{
// to stop all timers below call this from StopSong och pausesong
 if( timer_AB!= null) {timer_AB.stop();}
}

what am I to do here??
pls help!

/Jaxz