Flash CS5 生成不需要的预加载器
我们的一位外部开发人员在 Flash CS5 中创建了一个迷你游戏,我们通过加载 SWF 将其嵌入到我们的容器中。迷你游戏的文档类 (Icegame
) 应该并且确实实现了特定的接口 DreambearMinigame
。
然而,当该游戏发布时,似乎会生成某种预加载器,因为当在容器中加载游戏并将 loader.content
转换为 DreambearMinigame
时,我们收到错误无法将 Icegame__Preloader__@blabla 转换为 DreambearMinigame
我们已经翻遍了迷你游戏 FLA 的发布设置,但找不到关闭此功能的位置。这是怎么回事?
One of our external developers has created a minigame in Flash CS5 which we are embedding in our container by loading the SWF. The minigame's document class (Icegame
) should and does implement a specific interface DreambearMinigame
.
However, it appears that when that game is published some kind of preloader is generated, since when loading the game in the container and casting loader.content
to DreambearMinigame
we get the error cannot convert Icegame__Preloader__@blabla to DreambearMinigame
We've rummaged through the publish settings of the minigame's FLA but can't find the place to turn this off. What's going on?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
自 7 月 1 日起,提问者已经解决了这个问题,但没有得到接受的答案。因此,为了将其放在未答复的底部(如果被接受,甚至可能将其从该选项卡中删除......),出于社区礼貌,我将发布一个死记硬背的答案。
这是上面发布的链接,提问者说回答了问题:Flash CS5 TLF 引擎导致加载的 SWF 出现错误。
如果有人可以提供更好的(阅读更多详细信息)回答,请随意这样做。我无法很好地回答这个问题,因为我没有专业知识。再说一遍,这只是一项社区服务……我的一个习惯。
This has been solved since July 1st by asker, with no accepted answer. Therefore, to drop this to the bottom of unanswered (and maybe even remove it from that tab if this gets accepted...) I'm posting a rote answer as a community courtesy.
Here is the link posted above, that the asker said answered the question: Flash CS5 TLF Engine Causes Errors with Loaded SWFs.
If anyone can offer a better (read more detailed) answer, please feel free to do so. I can't answer this well because I don't have the expertise to do so. Again, this is just a community service...a bit of a habit of mine.