在另一台计算机上播放已发布的应用程序时出现 Directtostage 错误

发布于 2024-10-14 07:44:24 字数 528 浏览 8 评论 0原文

我有一个具有多个模块的 Director 应用程序,但其中一个模块决定不工作。那是该程序的视频部分。

所以基本上当我在Director中开发时,一切都运行得很好,但是当我尝试在另一台计算机上运行应用程序时,我收到错误“属性不存在:directtostage”,并且来自这样的代码:

sprite("VideoShape").member.DirectToStage = true;

The direct to stage属性允许视频有更好(更快)的渲染,从而使其真正可以播放。如果没有它,虽然可以工作,但制作速度非常慢且不稳定,因此拥有它被认为是很重要的。

我已经检查过,在该行代码启动时播放了一个视频,所以我确信它“具有”该属性。请记住,当我在导演中测试时,视频播放得很好,当我发布它时,它仍然工作正常,只有当我在另一台计算机上尝试时,才会出现错误。

视频为 mp4 格式 (Quicktime),并且目标计算机运行 Windows Vista。

你们中有人遇到过这个问题并且知道可能的解决方法吗? 谢谢。

I have a Director application that has several modules, but one in particular decided to not work. That is the Video section of the program.

So basically when Im developing in Director, everything works perfectly, but when I try to run the application in another computer, I get the error "Property doesen't exists: directtostage", and comes from this like of code:

sprite("VideoShape").member.DirectToStage = true;

The direct to stage property allows the video to have a better (and faster) rendering, thus allowing it to actually be playable. Without it, although works, makes is ultra slow and flikery, so having it is considered to be important.

I have checked and there is a video played at the time that line of code kicks in ,so i'm sure it "has" that property. Please keep in mind that the video plays perfectly when I am testing it out in director, when I publish it it still works fine, and only when I tried it on another computer has the error occurred.

The videos are in mp4 format (Quicktime) and the destination computer is running on Windows Vista.

Did any of you had this problem and knows of a possible fix?
Thanks.

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

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

发布评论

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

评论(1

强辩 2024-10-21 07:44:24

发现有问题的电脑没有安装 Quicktime。后来它被修复了。感谢任何看过这个问题的人:P

Figured out that the pc in question did not have Quicktime installed. It was fixed afterwards. thanks for anyone that looked at the question :P

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