Further help needed

Hi all, I’ve put together Flash navigation for an HTML website and I’m looking for a way for the Flash file to communicate with the HTML pages. Essentially I need the Flash file to jump to a particular place once the page has loaded in. This is the code I have.

stop();
var varPageLocation;
switch (varPageLocation) {
case ‘Home’ :
Headers.gotoAndPlay(“Home”);
break;
default :
gotoAndPlay(2);
}

Can anybody help me out with this one?