[flexcoders] How to call MXML from JSP
Hi... I need to invoke a JSP page from MXML page and from that JSP I should be able to run the SWF file. Could anyone please help me..?? Thanks, Sony. Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/
Re: [flexcoders] How to call MXML from JSP
Just embed the swf in your JSP page and when the browser loads the JSP page, the swf should run. Paul - Original Message - From: sony antony pow_like_me...@yahoo.co.in To: flexcoders@yahoogroups.com Sent: Wednesday, January 14, 2009 12:49 PM Subject: [flexcoders] How to call MXML from JSP Hi... I need to invoke a JSP page from MXML page and from that JSP I should be able to run the SWF file. Could anyone please help me..?? Thanks, Sony. Connect with friends all over the world. Get Yahoo! India Messenger at http://in.messenger.yahoo.com/?wm=n/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
Re: [flexcoders] How to call MXML from JSP
On Wed, Jan 14, 2009 at 7:49 AM, sony antony pow_like_me...@yahoo.co.inwrote: I need to invoke a JSP page from MXML page Do you mean that you want your SWF to open a new browser window to a particular URL? Or you want the SWF to call a JSP page and the use the output of the call to the JSP in its processing? For the former, see http://blog.flexexamples.com/2007/08/29/launching-new-browser-windows-from-flex/. For the later, see http://blog.flexexamples.com/2007/08/16/using-httpservice-tag-to-sendreceive-variables-to-a-server-side-script/ and from that JSP I should be able to run the SWF file. JSP pages should be able to run SWFs the same way normal HTML pages do, just output the right HTML to the browser. Do you have Flex Builder? Look in any project's html-template directory, at the index.template.html file. That's what your JSP page should output to the browser. How it gets there can be by an .htm file, or .asp, or .cfm (that's what I'm doing). -- Howard Fore, howard.f...@hofo.com The universe tends toward maximum irony. Don't push it. - Jeff Atwood