HEY YOU JUST CALL THE JAVASCRIPT AND IN TO THE JAVASCRIPT DEFINE THE CLOSE FUNCTION, THATS ALL. i THINK YOUR CODE IS NOT WRONG. BUT THROUGH URLrEQUEST JUST CALL THE NAME OF THE JAVASCRIPT FUNCTION.
2009/4/4 purni <[email protected]> > > hi all, > how to close browser using flex... i ve a menu option exit which > should close the browser.. but its not closing,,, the browser is just > like closing but it appears again.. i don know explain it exactly.. > > here is my code: > > var url:String = "javascript:window.opener = self;window.close();"; > var urlReq:URLRequest = new URLRequest(url); > navigateToURL(urlReq); > > > > -- Arindam. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

