Flash and html communication?

Hey guys…I am trying to have my flash navigation recognize which html page it is on, and highlight the corresponding button. I think the code in the html will look like this
<param name=“movie” value=“header.swf?acbtn=advantaget”>

where the active button is advantaget.

But I’m not sure about how to script the menu in flash. Any resources, examples, or insight would be greatly appreciated.

regards

Kevin