如何在没有第三方应用程序的情况下制作无窗闪光投影仪?
我正在尝试完成一个用 Flash 完成的教育 CDROM,我怎样才能制作一个无窗口的投影仪,或者在没有第三方软件的情况下将窗口定位在屏幕的中心?
i'm trying to finish an educational cdrom done in flash, how can i make a window less projector, or position the window on the center of the screen without a 3rd party software?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我猜您指的是隐藏窗口镶边,而不是隐藏窗口本身?
如果您使用 Air 构建应用程序,则可以创建无镶边窗口(请参阅“窗口镶边”部分)并控制初始定位:
http://livedocs.adobe.com/flex/ 3/html/help.html?content=WorkingWithWindows_2.html
此方法的唯一限制是计算机必须安装 Air 运行时,并且还必须安装应用程序才能使用(这意味着安装用户必须具有管理权限)。
我希望将 Air 窗口管理行为包装在现有应用程序周围是相当容易的。
如果您无法将应用程序转换为Air,那么我唯一能想到的就是使用类似ScreenweaverHX (http://haxe.org/com/libs/swhx 和 http://screenweaver .org/doku.php) - 有点像一个开源的跨平台项目,为您提供类似 Air 的功能。它确实违反了您的“禁止第三方”规则,但这是我能想到的唯一两个选择。
I'm guessing that you're referring to hiding the window chrome, not hiding the window itself?
If you build your application with Air then you can create a chrome-less window (see the "Window chrome" section) and control the initial positioning:
http://livedocs.adobe.com/flex/3/html/help.html?content=WorkingWithWindows_2.html
The only limitation with this method is that the computer must have the Air runtime installed and the application must also be installed before it can be used (which means the installing user must have administrative rights).
I would expect it to be be fairly easy to wrap the Air window management behaviour around your existing application.
If you can't convert the application to Air then the only other thing I can think of would be to use something like ScreenweaverHX (http://haxe.org/com/libs/swhx and http://screenweaver.org/doku.php) - sort of like an open-source, cross-platform project that gives you Air-like functionality. It does violate your 'no third-party' rule but those are the only two options I can think of.