browser window won't close using flash button!
So I am trying to close the browser window where my flash movie is embedded with a button action from flash using:
I have even tried it with a space between java and script as someone has suggested...but it is not working!!!! Any ideas?
I am using flash mx with a flash 7 swf
sorry bout the multiple posts....it won't let me delete them...please ignore the other ones
I think your code will only work if the window was opened with java scrip as well.
Try this instead.
insert this into the head of your html
father = window.self;
father.opener = window.self;
then use this for your button action
Click Here to Expand Forum to Full Width