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.

[showmyads]

Follow this Post on the ExternalInterface.

Enjoy the post.

Advertisements

4 Responses to Close the browser window from Flex App.

  1. […] Close the browser window from Flex App. […]

  2. flexnoob says:

    coool

  3. Jeyabalan says:

    Hi anna,
    If i close the flex window i have move to another browser window.help me

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: