This content has been marked as final.
Show 3 replies
-
1. Re: How to close the swf file???
Greg Dove Nov 26, 2007 1:48 PM (in response to AScracker)What do you want to have happen?
Do you want the swf to disappear from the html page? You should use javascript to remove it from the DOM. You could make that request via ExternalInterface....but I'm not sure what would happen as an ExternalInterface call tries to return a value to flash. If it has been removed from the browser DOM... I'm not sure what happens - whether a javascript error occurs or not. I've never tried it.
Do you want to reload the browser page with another page? You can do that in conjunction with a 'submit' from e.g. LoadVars.send or just using getURL
you need to have the target argument as "_self" to target the same browser window.
-
2. Re: How to close the swf file???
AScracker Nov 27, 2007 3:38 AM (in response to Greg Dove)Hi
Actually the flash file open as a child widow, After i enter the data in the text box, then by clicking the submit button
then window need to close...
can u help me , to clear this issue..
~~SK -
3. How to close the swf file???
Greg Dove Nov 27, 2007 3:42 AM (in response to AScracker)What do you mean by child window?
Do you mean it is a swf that appears in a javascript popup window?
Or do you mean it is a swf that is running inside a window component inside flash?

