tags:

views:

784

answers:

2

hi there. i want to organize my ebooks. and want to create an air app that would have the list of my ebooks. i want it, that if i click that ebook name. i would launch/call the ebook file. just like double clicking the icon in a folder. how could i trigger that in flex? thanks.

also, is it possible that if i saved the page number in my flex app.when launching the ebook file, i would go directly to that particular page?:D?

thank you so much!

+2  A: 

AIR does not come with the functionality to launch an external process. Your choices are to either use another EXE packaging solution (such as MDM Zinc) or to create your own wrapper layer. Mik Chambers has a proof of concept of a Command Proxy in .NET which you could use as a basis.

If you go with the latter, the .NET class/method you will need is Process.Start

Richard Szalay
thanks. kinda complicated.:Di was thinking. can't i just use the open method of File class of actionscript to launch a .exe file?
bgreen1989
File.open opens the file contents as a data stream (ie. to read the contents of the file)
Richard Szalay
+1  A: 

With AIR 2 you can accomplish this by using the Native Process API

Rob