Popup from flash textfield

hi there

i got to open a javascript popup with standard size in a website from flash. i.e. it should be able to click in flash, and open up a popup window displaying the content of the URL.

i tried the fscommand method from macromedia but it doesnt work. ( btw my published file is asp.net although i dun think that makes any difference from html in terms of javascript)

  _root.Movie.textfield.htmlText += "<A HREF='javascript:popUp('" + links[j]+ "')>" + Works[j] + "</A><br>"

theres this line i input into flash… but it doesnt work either even though there is no error.

Is there any way of doing this?

Any help is appreciated. Thanks