Reverse a switch statement

Hi does anybody know how to cycle backwards through cases in a switch statement.

based on it relative position??



var state=0;


nextB.onRelease=function(){
    switch(state)
    {
        case 0:
        state=1;
        _root.text_field="blahblah.";
        break;
        
        case 1:
        state=2;
        _root.text_field="blahblah";
        break;
    }
}

not sure if this can be done?

brndn