PureMVC Architects Lounge

Announcements and General Discussion => General Discussion => Topic started by: eball on March 31, 2009, 12:18:57



Title: Load file using native application
Post by: eball on March 31, 2009, 12:18:57
Is there a way to load a file (ie: doc, pdf, etc) in its native application?

Right now i am able to load a word doc file in word using navigateToUrl in an AIR applicaiton.
But this uses a web browser to load the file before a popup then asks if you want to load the file in Word.

Isnt there a way to open documents using whatever application they are derived from. (doc, pdf, excel, etc)???


Title: Re: Load file using native application
Post by: Ondina on March 31, 2009, 03:33:05
A better communication between an AIR application and the underlying operating system ( launching native executables from an AIR application ) has been on my wishlist forever!

You cannot open MS Office documents in your Flex/AIR application. I wish someone proved me wrong about it.

For PDF look at these links:

http://www.adobe.com/devnet/air/flex/quickstart/scripting_pdf.html

http://raghuonflex.wordpress.com/2006/12/07/flex-i-frame/

http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postId=10183