问题
Anyone know of any documentation that would help me with trying to embed a web browser component into adobe flex.
I've seen in Adobe Air that there is a Item; however, in Adobe Flex 3 for a .swf file that would be somewhere - I do not see it.
Any ideas?
回答1:
Only Air has that capability built in.
However there is a very good-looking component that you can find here: http://drumbeatinsight.com/
It is paid-for though.
Open source solutions are here
http://sourceforge.net/projects/as3htmlparser/
and here:
http://code.google.com/p/htmlwrapper/
回答2:
The Webkit engine is embedded in the AIR runtime. It is not embedded in the Flash plug-in, however, so you cannot embed a browser within a .swf (Flash application) running inside a Web browser (or even using a standalone, desktop .swf runtime) as the Flash plug-in doesn't support that. AIR is your only option for actually embedding a browser within a Flash application.
There are a number of examples on the Web of using s to position a browser component/window over a Flash application to make it look like you've embedded a browser inside of the Flash app. Before AIR came along, this was what a lot of Flash/Flex developers did.
来源:https://stackoverflow.com/questions/1218315/embed-a-browser-in-flex