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

查看:17
本文介绍了在 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's 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天全站免登陆