RE: [flexcoders] Open new browser popup
Gentlepeople, Related to this, would there be a way to redirect the output of HTTPService to a new browser window. I have a service that is invoked through HTTPService and that generates a pdf. I would like to return that pdf on the HTTPService call, but I am not sure who I can then invoke the pdf viewer on the client machine. Thanks, Peter _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jaap Cammeraat Sent: Monday, April 23, 2007 11:36 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Open new browser popup Thanks, this is working! Regards, Jaap Op 23-apr-2007, om 9:44 heeft Roman Protsiuk het volgende geschreven: http://skovalyov.blogspot.com/2007/01/how-to-prevent-pop-up-blocking-in.htm l This might help you. R. On 4/23/07, Jaap Cammeraat mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Thanks for your answer, but it isn't working in Flex201. Is there another example of opening a popupwindow? eorgia; font-size: 13px; line-height: 15px; Op 20-apr-2007, om 14:38 heeft ramp_of_remo het volgende geschreven: --- In mailto:flexcoders%40yahoogroups.com flexcoders@yahoogroups.com, Jaap Cammeraat flexcoders@ ... 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.macromedia.com/2003/mxml http://www.macromed http://ia.com/2003/ ia.com/2003/ mxml mx:Script![CDATA[ private function openNewBrowser( ):Void { var sURL:String = 'javascri SPAN,null,' + taArguments.text + ');void(0);'; getURL(sURL); }// ]]/mx: 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() / Cheers, Mahesh Reddy.
[flexcoders] Open new browser popup
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, 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 open a 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.macromedia.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.
Re: [flexcoders] Open new browser popup
Thishttp://skovalyov.blogspot.com/2007/01/how-to-prevent-pop-up-blocking-in.htmlmight 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.macromedhttp://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.
Re: [flexcoders] Open new browser popup
Thanks, this is working! Regards, Jaap Op 23-apr-2007, om 9:44 heeft Roman Protsiuk het volgende geschreven: This 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, Jaap Cammeraat flexcoders@ ... 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.macromedia.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.
[flexcoders] Open new browser popup
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 open a new window but I want a new window with special sizes. Regards, Jaap Cammeraat