I would... you can also use FSCommand() and make sure that you don't include the second parameter for getURL (_target) or else you'll start a page refresh.
Cheers, Kevin -----Original Message----- From: S.Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: July 14, 2005 12:12 PM To: CF-Talk Subject: Re: Javascript from Flash Form > I would like to be able to add a window.close() javascript > method to an onclick event for a button in a flash form. > Is this possible? > Is there a workaround? Iirc... getURL("javascript:window.close()"); Don't quote me... s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212135 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54