in navigateurl how can i give width and height in flex
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开发者_如何学Go is opening.i want to open like width and height,
please help in this.
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
精彩评论