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], "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
>


Reply via email to