Thanks for the info, Eric.

 

Do you know if there are any considerations when passing data.both in terms
of data type and size?

 

Frank

 

From: [email protected] [mailto:[email protected]] On Behalf Of Eric DeCoff
Sent: Tuesday, March 22, 2011 10:21 PM
To: [email protected]
Subject: Re: [AFFUG Discuss] Calling COM objects from Flex Air

 

Frank,

 

Sounds harder then it is...

 

Attached is an example of using the External Interface I help Laurence
with...

 

Basicly the External interface is a simple wrapper that Flex needs to
interact with a component

 

public interface IExternalPrintModule 

{

function Print():void; 

function About():String; 

}

 

I hope this helps... 

 

  


 

On Tue, Mar 22, 2011 at 10:01 PM, Frank G. Torres <[email protected]>
wrote:

I need to be able to instantiate and call methods on a COM object from
within the ActionScript code of an AIR app.

 

Based on what I have read, I would need to write a JavaScript wrapper around
the COM calls then access the JavaScript using ExternalInterface.

 

Is this really the only/best way? 

 

Any help or guidance is much appreciated.

 

Thanks,

Frank


------------------------------------------------------------- 
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line 

For more info, see http://www.affug.com <http://www.affug.com/>  
Archive @ http://www.mail-archive.com/discussion%40affug.com/ 
List hosted by FusionLink <http://www.fusionlink.com/>  
------------------------------------------------------------- 




-- 
Eric R. DeCoff
Changing the world,
1 line of code at a time




-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to