Actionscript navigation help?

I’m a web design student and I’m trying to get a flash navigation for Flash MX to work, I need help!..

i have several buttons nested on a layer inside a movie clip. these buttons are each set up with a onrelease handler to set global variable fadeWindow to a specific value (like “button1”, “button2”, etc) and then to go to frame 17 of the root timelane and play. When I debug and view the variables, I can see that _global.fadeWindows is set to the correct value of the button pressed.
now when you test the movie and press one of the buttons, the script does what it’s supposed to and sets the gVar, goes to frame 17 of root and plays.

now frame 17 plays and then at frame 25 I have another script which i supposed to check the value or _global.fadeWindows and then skip to the appropriate frame depending on what the value of the variable is…

i have the script set up with switch (). I’ve also tried if, else…
nothing works! here is the script:

this.onEnterFrame = function () {
switch (_global.fadeWindows) {
case “webdesign” :
this.gotoAndStop(content1);
break;
case “motiongraphics” :
this.gotoAndStop(content2);
break;
case “3dart” :
this.gotoAndStop(content3);
break;
case “digitalart” :
_parent.gotoAndPlay(content4);
break;
case “matte” :
this.gotoAndPlay(content5);
break;
case “multimedia” :
this.gotoAndPlay(content6);
break;
case “traditional” :
this.gotoAndPlay(content7);
break;
default :
stop();
}
};
stop();
"

i want the script to read the value of the variable and then instruct the root timeline to go to the frames specified… but no matter what i try it wont do it. (the script is on the root timeline)

its not working. I’m horrible with programming!

help.