Close the browser window from Flex App.

Using two lines of javascript code we can actually close the Browser window.But not all the Browser’s support this feature[works on IE], they only give limit access through javascript.But as the question is made here is the solution.

function closeme()
{
 window.close();
}

this is the js code.So how you gonna make this function call from the Flex App?.Simple use ExternalInterface.

Follow this Post on the ExternalInterface.

Enjoy the post.

Leave a Reply