View Full Version : javascript in Flash

07-17-2006, 06:24 AM
Hi all,
I want to Submit a Form to the parent Window from a Popup window but i want it do be done of click of a movie clip in flash.

What i am doing is on click of a ASP.NET i am opening another aspx page and embedding flash application in this page. In the flash application, on click of sumit movie clip age is redirected to another url . I need to open this url in parent page.

Any help??

07-17-2006, 09:55 AM
If you are using getURL to redirect the submit button then you can do something like this

getURL("javascript:if(opener)opener.location = 'http://www.somesite.com';void(0);");