Can default from switch/case be used in another switch/case?

I am doodling at work :jail: and wondering if this is possible. Unfortunately I don’t have flash in front of me so I can’t test it but since my AS is so horrible it probably wouldn’t help anyway!

I want this on an MC:
[AS]
i = 0;
switch(thing){
case 0:
some action; break;
case 1:
some other action; break;
default:
i++;
}

if (i < 7) {
switch (i) {
case 1:
something else; break;
case 2:
something something else; break;
}}
[/AS]

etc.

Basically what I’m wondering is, will I lose the value of i in the first switch once I’m out of the switch? Can the second switch read the 1st switch?