PDA

View Full Version : Flex & ActiveX


Zuberul
08-12-2008, 06:31 AM
Hello All,

I need to load an ActiveX control to one of my flex 3 project.

is there any way to do that ??? cant find any embed or object tag in flex

thanks
Zuberul.

dr_zeus
08-12-2008, 06:44 PM
No, this is not possible. You will need to load the ActiveX control in your HTML page outside of Flash Player.

corbo950
08-13-2008, 03:40 AM
you could use and iframe and not show it and have it load a HTML page with your activex control. Why do u need an activex control anyway? What can you do that you can't with javascript or actionscript?

Zuberul
08-13-2008, 05:37 AM
you could use and iframe and not show it and have it load a HTML page with your activex control.

yes. now i am loading it in the HTML and using external call & callback to communicate with actionscript. but its not helping much. because it works only for web applications. what to do in a desktop environment ?

is there any way to communicate with a dll directly ?

Why do u need an activex control anyway? What can you do that you can't with javascript or actionscript?

because i am loading an activeX SDK thats written in C/C++.

Thanks for the suggestions.
zuberul.

corbo950
08-13-2008, 06:16 PM
well your kinda out of my league there i only do web coding but AIR apps can run any other appliaction on a computer and such an application could be packaged with it so if you can write an application in Java or C/C++ that would load run this SDK then you could have the AIR application run it and push the data to it

adrock3000
09-17-2008, 11:44 PM
found this thread through google looking for some activex stuff in flex. sorry for the late bump.

i'm sure this isn't an issue anymore or you've found a whole bunch of workarounds...or probably not since there isn't much out there.

check out merapi.

http://www.merapiproject.net/

its a bridge between java and AIR. you can actually bridge the java to C++ and get your dll connection. hope that helps.

VasuGulati
10-07-2009, 07:04 AM
yes. now i am loading it in the HTML and using external call & callback to communicate with actionscript. but its not helping much. because it works only for web applications. what to do in a desktop environment ?

is there any way to communicate with a dll directly ?



because i am loading an activeX SDK thats written in C/C++.

Thanks for the suggestions.
zuberul.
Hi Zuberul,

Can you please let me know how you handled activex in flex web application?

Thanks
Vasu Gulati

Peter Cowling
10-07-2009, 09:31 PM
Use ExternalInterface to communicate with a DLL.