Adobe 空气浏览器

发布于 2024-11-07 15:18:49 字数 272 浏览 3 评论 0原文

我正在尝试在 adobe air 中实现一个迷你浏览器。浏览器应该以与手机浏览器相同的方式工作,即将网站的宽度调整为一定的宽度(在html组件中指定)并保持高度可滚动。

我已经成功地使用 mx:HTML 组件的scaleX、scaleY 属性制作了一个迷你浏览器,但是这些使得网站看起来不可读。

我也尝试过设置 css3 缩放属性,效果很好,但它只会缩小某些元素,因此会弄乱网站布局。

我的问题是:有没有办法制作一个迷你网络浏览器来显示网站的完整内容?

感谢您的帮助

Im trying to implement a mini browser in adobe air. The browser should work in the same ways as a mobile phone browser, i.e. fit the width of the website to a certain width(specified within the html component) and leave the height to be scrollable.

I have managed to do a mini browser by using the scaleX,scaleY properties of the mx:HTML component however these make the websites look unreadable.

I have also tried setting the css3 zoom property, and that works fine, but it only zooms out certain elements, therefore messing up the site layout.

My question is: Is there a way to make a mini web browser which shows the full content of the website?

Thanks for your help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

二手情话 2024-11-14 15:18:49

Air 浏览器无法在没有可怕外观的情况下进行缩放(无抗锯齿功能)。

Air browser cannot be scaled without have an horrible look (no anti-aliasing).

永不分离 2024-11-14 15:18:49

几年后,我最终做了以下事情:

要求是显示 B 正在查看的完整网站,以便 A 可以引导他们浏览该网站。由于 Adob​​e AIR 浏览器的所有限制,我们最终使用了 IECapt (http://iecapt.sourceforge.net/) 在外部进程中捕获屏幕截图并将其发送回 AIR。

这一切都很好,但是 IECapt 也已经过时了,所以最近我们开始考虑使用 Chromium (http://www.magpcss.net/cef_downloads/)作为我们应用程序中的 ANE,通过它我们可以更改页面的缩放和尺寸,同时仍然能够保持其最新状态。

A few years later but here is what I ended up doing:

The requirement was to show the full website that person B was looking at so that person A could guide them through the site. Due to all the limitations of the Adobe AIR Browser we ended up using IECapt (http://iecapt.sourceforge.net/) within an external process to capture the screenshot and send it back to AIR.

This is all well and good, but IECapt is quite out of date as well so recently we have started to look at the using Chromium (http://www.magpcss.net/cef_downloads/) as an ANE within our application and with that we can alter the zoom and dimensions of the page while still being able to keep it up-to-date.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文