Embed a browser in Flex

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 15:11:46

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!