Hi when i am trying to give windth and height to a window through navigateUrl method its not opening my codevar js:String = "window.open(http://[Domain]/Project/pages/sample.jsp,'win','height=608,width=999');";
var urlReqest:URLRequest = new URLRequest("javascript:" +js + " void(0);");
navigateToURL(urlReqest,"_blank");
its not opnening,and if i give url is normal url means max window is opening.i want to open like width and height,
please help in this.
Hi when i am trying to give windth and height to a window through
Share
You should use the ExternalInterface for that. It allows you to call Javascript from Flex. An example of what you need can be found here:
http://cookbooks.adobe.com/post_Popup_a_window_without_getting_blocked_by_popup_bl-5221.html