I frankly think it's easiest to implement #1 at the moment. I'm not sure that we really provide a nice API for #3, one can imagine that easily being abused to execute malicious code.
Matt -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of pcolby_flex Sent: Wednesday, April 05, 2006 5:35 PM To: [email protected] Subject: [flexcoders] Openning documents in external apps? Hi Guys, I have a Flex2 app that needs to be able to open some server attachments in the apropriate application. For example, the app may need to show a Word or Excel document. It seems to me that there are three ways to do it: 1. Use navigateToURL() to send the web browser to the document, and thus have the browser open it for me; or 2. Use the ExternalInterface API to talk to a JavaScript which can then get the web browser to open the document. 3. Download the document within the Flex2 app, and then give the document data to a JavaScript function (via the ExternalInterface API), and have that JavaScript function launch the required app directly. My questions are: Are these three the only ways to do it? Does Flex2 have something specifically for doing the job of downloading, and then save/openning documentst the same way the browser would? Which would you recommend, and why? Are there any significant shortfalls to the above approaches? Any other suggestions would be really appreciated :) Thanks! Paul. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

