Flash Cs3 And Html Frames

[COLOR=darkred]How do i make a link from a flash cs3 movie embeded on a frame to open in another frame?[/COLOR]
[COLOR=#8b0000][/COLOR]
For example:

[COLOR=royalblue]<frameset rows=“80,*” frameborder=“no” border=“0” framespacing=“0”>[/COLOR]
[COLOR=royalblue]<frame src=“fpTopBarFlash.html” name=“topFrame” id=“topFrame” title=“topFrame” />[/COLOR]
[COLOR=royalblue]<frame src=“fpevolve.html” name=“mainFrame” id=“mainFrame” title=“mainFrame” />[/COLOR]
[COLOR=royalblue]</frameset>[/COLOR]

The links on the embeded flash movie on “topframe” should open on the “mainFrame” but the problem is that they open on another browser window.

I used the fallowing code on the flash buttom :

[COLOR=royalblue]on (release) {[/COLOR]
[COLOR=royalblue]getURL(“second.html”, “mainFrame”);[/COLOR]
[COLOR=royalblue]}[/COLOR]

The second.html file should upload in the “mainFrame” target but instead the browser just uploads the file in another window.

Is my actionscript code wrong?
Should i change the html code for the frameset?
is there another way of of doing this?

I’m using flash cs3 and dreamweaver cs3

Your help is much apreciated.