Maybe you should looking using a LocalConnection? Basically you would embed a small swf in your application to handle communication with your Flex / AIR application, via the LocalConnection or two if you want it to be bi-directional.http://learn.adobe.com/wiki/display/Flex/Local+Connections http://livedocs.adobe.com/flex/3/html/help.html?content=17_Networking_and_communications_4.html
Paul On Fri, Jan 9, 2009 at 12:37 PM, jim.abbott45 <[email protected]>wrote: > Pratik: I've gotten this to work on my own projects (for example, to > load data into Excel). But ONLY with Internet Explorer (on Windows, of > course). I doubt it would ever work cross-browser (or with AIR), > because the browser needs to implement support for instantiating > ActiveX objects and to call methods on them. AFAIK, this is an IE-only > feature. > > Bottom line: if you want to do this (and can live with the browser > restrictions), the Flex ExternalInterface API to call some JS code > which instantiates and calls the ActiveX object (like your example JS > code does). > > Regards, > Jim > > > --- In [email protected] <flexcoders%40yahoogroups.com>, > "pratikshah83" <pratiksha...@...> > wrote: > > > > Hi Guys, > > > > I am trying to execute a application on the desktop using > > ActiveXObject... but I am unable to get it working with Adobe AIR + > Flex. > > > > Something Like this. It works fine using it in javascript in IE. But i > > am unable to get it working from AIR even after calling the javascript > > and so tried using the mx:html tag. > > > > AB = new ActiveXObject("Broker.Application"); > > AB.Quit(); > > > > Any help if this regards would be appreciated. > > > > Thanks > > Pratik > > > > > -- http://gregoire.org/ http://osflash.org/red5

