开发者

in navigateurl how can i give width and height in flex

开发者 https://www.devze.com 2022-12-20 17:43 出处:网络
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,

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

0

精彩评论

暂无评论...
验证码 换一张
取 消