Groups | Blog | Home
all groups > coldfusion flash integration > july 2006 >

coldfusion flash integration : Closing window with Flash form


mdarchives
7/21/2006 12:00:00 AM
I have a pop-up window that contains a Flash form. I am trying to submit the
form data and close the window when the user hits the submit button.

If I use the attached code, it works. But if I change the form to Flash, I get
an error that says "There is no method with the name 'top'."

Is there a way to close the window using a submit button from a flash form?
Thanks!




<cfform format="html">
<cfinput type="button" name="j1" value="Close" onClick="top.window.close()">
</cfform>
The ScareCrow
7/25/2006 11:35:12 PM
In the "action" page,
<body onload="self.close();">

AddThis Social Bookmark Button