如何使用 flex 4 构建基于控制台和无窗口的 AIR 应用程序

发布于 2024-12-03 23:11:57 字数 202 浏览 0 评论 0原文

我使用 Flex4 创建了 AIR 应用程序。它有一个窗口,什么也没有显示。如果我安装 AIR 应用程序并运行它,则不应显示任何应用程序 UI 窗口。这意味着我需要构建一个无窗口的 AIR 应用程序。这是必需的,因为我需要在基于控制台的 UNIX 服务器中运行此应用程序。 UNIX 服务器抛出错误“Gtk-WARNING **:无法打开显示。”当该应用程序尝试执行时。请帮我解决这个问题。

I created and AIR application using Flex4. It has a window showing nothing. If I install my AIR application and run it, no application UI window should be displayed. that means I need to build a window less AIR application. It is required because, I need to run this application in console based UNIX server. UNIX server is throwing an error "Gtk-WARNING **: cannot open display." when this application is trying to be executed. Please help me out to solve this issue.

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

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

发布评论

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

评论(1

夜无邪 2024-12-10 23:11:57

您无法在 AIR 端解决此问题。 AIR 设计为与 Windows 一起运行。开发人员报告使用 Xvfb 虚拟帧缓冲区取得了成功:http://groups.google.com/group/fluint-discussions/browse_thread/thread/b4be801162a00dfc?pli=1

You can't solve this on the AIR side. AIR is designed to run with windows. Developers have reported success using Xvfb virtual framebuffer: http://groups.google.com/group/fluint-discussions/browse_thread/thread/b4be801162a00dfc?pli=1

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