Displaying simple javascript enabled webpage within a Flex app?

与世无争的帅哥 提交于 2019-12-13 06:29:21

问题


I'm working on a Flex app that needs to display ads from third party vendors that come in the form of HTML docs containing javascript. Are there any components available that can display such things? It seems like we need a mini-browser that runs inside of Flex.

Thanks a lot, Alex


回答1:


In short, yes. Unfortunately, Flex on its own doesn't do a particularly good job of rendering HTML, but there are some ways to work around this. A post on Alex's Flex Closet does a good job of describing some options:

http://blogs.adobe.com/aharui/2008/01/html_and_flex_1.html

One component, aptly named HTMLComponent, may be of particular interest:

http://drumbeatinsight.com/



来源:https://stackoverflow.com/questions/332451/displaying-simple-javascript-enabled-webpage-within-a-flex-app

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