在Flex应用程序中显示简单的启用JavaScript的网页? [英] Displaying simple javascript enabled webpage within a Flex app?

查看:83
本文介绍了在Flex应用程序中显示简单的启用JavaScript的网页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Flex应用程序,该应用程序需要显示来自第三方供应商的广告,这些广告以包含javascript的HTML文档的形式出现.是否有可用的组件可以显示此类内容?似乎我们需要在Flex内运行的微型浏览器.

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.

非常感谢, 亚历克斯

推荐答案

总之,是的.不幸的是,Flex本身在呈现HTML方面并没有做得特别出色,但是有一些方法可以解决此问题. Alex的Flex Closet上的帖子很好地描述了一些选项:

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

一个被恰当地命名为HTMLComponent的组件可能会特别令人感兴趣:

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

http://drumbeatinsight.com/

这篇关于在Flex应用程序中显示简单的启用JavaScript的网页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆