[flexcoders] Accessing *other* browser plugins from Flash

2008-10-14 Thread Eric Cooper
Hi,

I have access to some powerful C++ functionality. Porting this to ActionScript 
is not an 
option. However, it looks like I could create a browser plugin that would wrap 
the C++ code.

I am looking for pointers, caveats or advice on how to proceed.

The obvious question is: can a .swf call out to another browser plugin or is 
this prevented by 
the security sandbox of all browsers?

And the followup: if this is possible, how?

Thanks in advance!

-Eric



RE: [flexcoders] Accessing *other* browser plugins from Flash

2008-10-14 Thread Tracy Spratt
You can explicitly allow swf scripting in the html wrapper.  It might
take bit to get the security side handled, but it is doable.  

 

You would actually control/communicate with the other objects by
scripting them using javascript and ExternalInterface.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Cooper
Sent: Tuesday, October 14, 2008 3:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Accessing *other* browser plugins from Flash

 

Hi,

I have access to some powerful C++ functionality. Porting this to
ActionScript is not an 
option. However, it looks like I could create a browser plugin that
would wrap the C++ code.

I am looking for pointers, caveats or advice on how to proceed.

The obvious question is: can a .swf call out to another browser plugin
or is this prevented by 
the security sandbox of all browsers?

And the followup: if this is possible, how?

Thanks in advance!

-Eric

 



Re: [flexcoders] Accessing *other* browser plugins from Flash

2008-10-14 Thread Josh McDonald
Why not embed Player inside your a C++ app and bypass the browser entirely?

On Wed, Oct 15, 2008 at 5:39 AM, Tracy Spratt [EMAIL PROTECTED] wrote:

  You can explicitly allow swf scripting in the html wrapper.  It might
 take bit to get the security side handled, but it is doable.



 You would actually control/communicate with the other objects by scripting
 them using javascript and ExternalInterface.



 Tracy


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Eric Cooper
 *Sent:* Tuesday, October 14, 2008 3:05 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Accessing *other* browser plugins from Flash



 Hi,

 I have access to some powerful C++ functionality. Porting this to
 ActionScript is not an
 option. However, it looks like I could create a browser plugin that would
 wrap the C++ code.

 I am looking for pointers, caveats or advice on how to proceed.

 The obvious question is: can a .swf call out to another browser plugin or
 is this prevented by
 the security sandbox of all browsers?

 And the followup: if this is possible, how?

 Thanks in advance!

 -Eric

 




-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

Like the cut of my jib? Check out my Flex blog!

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]
:: http://flex.joshmcdonald.info/


RE: [flexcoders] Accessing *other* browser plugins from Flash

2008-10-14 Thread Tracy Spratt
Now *that's* thinking outside the box!

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Josh McDonald
Sent: Tuesday, October 14, 2008 6:02 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Accessing *other* browser plugins from Flash

 

Why not embed Player inside your a C++ app and bypass the browser
entirely?

On Wed, Oct 15, 2008 at 5:39 AM, Tracy Spratt [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

You can explicitly allow swf scripting in the html wrapper.  It might
take bit to get the security side handled, but it is doable.  

 

You would actually control/communicate with the other objects by
scripting them using javascript and ExternalInterface.

 

Tracy

 



From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ]
On Behalf Of Eric Cooper
Sent: Tuesday, October 14, 2008 3:05 PM
To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com 
Subject: [flexcoders] Accessing *other* browser plugins from Flash

 

Hi,

I have access to some powerful C++ functionality. Porting this to
ActionScript is not an 
option. However, it looks like I could create a browser plugin that
would wrap the C++ code.

I am looking for pointers, caveats or advice on how to proceed.

The obvious question is: can a .swf call out to another browser plugin
or is this prevented by 
the security sandbox of all browsers?

And the followup: if this is possible, how?

Thanks in advance!

-Eric




-- 
Therefore, send not to know For whom the bell tolls. It tolls for
thee.

Like the cut of my jib? Check out my Flex blog!

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
:: http://flex.joshmcdonald.info/ http://flex.joshmcdonald.info/