In-between flash form and html

I have set up a form in html using cgi-bin. The form itself is executed via flashmx, where a pop up is displayed via executing my html document. All works perfectly. Except I now require a close button, but bear in mind this is not a flash element as such. I have tried placing such a line of code on the button in the html document but all it does is execute a blank page not found window.

window.close();

I understand this is not flash, but it is kind of linked with my flash development, So if anyone does have an idea for what I am asking please advise, as it is becoming a stress and a half.

yours

Trev :eye:

http://javascript.internet.com/page-details/close-window.html

Thank you, but when you close you are displayed with a warning message, people can get it to work around this do you have the solution. The warning message sux

T

Well, to my knowledge - it doesn’t ask show that alert box if the window is a popup window. For instance, you open up a window using javascript that has no address bar or toolbar and apply that script and it doesn’t ask if you want it closed. Other than that, that’s the only way I know how to do it.