Director/Lingo,使应用程序在全屏和窗口之间切换?
最近,一位客户联系我,要求更新我多年前维护/开发的他的项目。
它是使用 Macromedia Director(现在的 Adobe Director)和 Lingo 完成的。由于我已经很长时间没有使用这些技术开发任何东西了,所以我需要一些帮助。
大多数更改都很简单,但让我困惑的是使应用程序能够在全屏投影仪和窗口模式之间切换。
它的组织方式如下:
- 我有一台短截投影仪,它重量轻,可确保快速启动。
- 存根投影仪加载主电影。
("@::Content:Main")
- 此存根投影仪以全屏模式发布。
现在,我可以通过发布单独的可执行文件来创建一台带窗口的投影仪和一台全屏模式的投影仪。然而,客户想要的是能够在运行时切换它 - 这甚至可能吗?
我发现了一些可行的解决方法(将显示矩形和舞台矩形设置为桌面大小),但引入了许多兼容性问题。
有什么建议吗?解决方案?
我很想说,在运行时切换是不可能的,并建议他发布全屏或窗口版本。
I recently had a client contact me asking for an update to his project that I used to maintain/develop years ago.
It was done using Macromedia Director (now Adobe Director) and Lingo. Since I haven't developed anything using these technology in such a long time I need some assistance.
The majority of the changes are simple, but what has got me stumped is making the application be able to toggle between full-screen projector and windowed-mode.
This is how it is organised:
- I have a stub projector, which is lightweight and ensures a quick start-time.
- The stub projector loads the main movie.
("@::Content:Main")
- This stub projector is published with in full-screen mode.
Now, I can create a projector that is windowed and one that is full-screen mode by publishing separate executables. However what the client wants is the ability to switch this at runtime - is this even possible?
I have found a few workarounds that kinda work (setting the display-rect and stage-rect to the desktop size) but introduce numerous compatibility issues.
Any advice? Solutions?
I am tempted to say that it isn't possible to switch at runtime and recommend that he publishes either a full-screen or a windowed version.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
供将来参考:http://www.directorforum.com/showthread.php? p=38795#post38795
For future reference: http://www.directorforum.com/showthread.php?p=38795#post38795