Linking to HTML named anchors from Flash

Suppose I have Flash navigation on an HTML website and want one of the Flash buttons to link to an anchor point within the HTML page that the Flash nav is embedded (i.e. and anchor like this: <a name=“top” id=“top”></a>)

For the Flash navigation, I can link to this anchor by adding the following actionScript to the button:


on (release) {
getURL("#top")
}

The only problem is, rather than just jumping straight to the anchor point, this link causes the whole page to refresh, which makes it inconvenient for users.

Is there a workaround that will allow me to link to a named anchor on the current HTML page from a Flash navigation bar that is embedded within it?

Thanks in advance for any help you can give.