mars-o
mars-o

Reputation: 1715

Flex 3 - Launching a .exe file

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!

Upvotes: 2

Views: 1434

Answers (2)

Rob
Rob

Reputation: 46

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

Upvotes: 1

Richard Szalay
Richard Szalay

Reputation: 84804

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

Upvotes: 2

Related Questions