This<http://skovalyov.blogspot.com/2007/01/how-to-prevent-pop-up-blocking-in.html>might help you.
R. On 4/23/07, Jaap Cammeraat <[EMAIL PROTECTED]> wrote:
Thanks for your answer, but it isn't working in Flex201. Is there another example of opening a popupwindow? Op 20-apr-2007, om 14:38 heeft ramp_of_remo het volgende geschreven: --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, Jaap Cammeraat <[EMAIL PROTECTED]> wrote: > > Hi all, > > Can somebody tell me how I can open a sized window in the users browser? > At this moment I'm using navigateToURL(u,"_blank") to "font-family: Georgia; font-size: 13px; line-height: 15px; ">new > window but I want a new window with special sizes. > > Regards, > Jaap Cammeraat > Hi Jaap, Wish the following code snippet will be a solution for your question. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromed<http://www.macromedia.com/2003/mxml> ia.com/2003/mxml"> <mx:Script><![CDATA[ private function openNewBrowser():Void { var sURL:String = 'javascript: window.open("","null","' + taArguments.text + '");void(0);'; getURL(sURL); }// ]]></mx:Script> <mx:TextArea id="taArguments" width="200" height="100" text="height=200,width=400,status=yes,toolbar=no,menubar=no,location= no" /> <mx:Button label="Open new Browser Window" click="openNewBrowser()" /> </mx:Application> Cheers, Mahesh Reddy.