Check out LocalConnection for your first problem, as for the second I know AIR cannot execute programs on the local filesystem.
A potential solution to your second (and first question) is to run a webservice or raw tcp/ip server that AIR and Flex connect and make requests to do the work. There is also Merapi to connect Java and AIR on your desktop coming someday: http://adamflater.blogspot.com/2008/02/meet-merapi.html --Robert On Wed, Mar 26, 2008 at 1:47 PM, Nicolas Boulet-Lavoie < [EMAIL PROTECTED]> wrote: > Hello, > > Is that possible to call a method which is in a AIR app running from a > Flex app on the same machine? > Ex: > > > Flex App running on the browser call the method "startSomething". > AIR app catch this event then execute a file on the local file system. > > There is also a 2nd part to this question. > > Is that possible to execute a file (ex: .bat) from a AIR app? > > Thanks > Nicolas > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > >

