将 AS3 SWF 嵌入 AS1 Flash 应用程序
我们公司使用另一家供应商的 Flash 软件,用 AS1 编写。 它们具有插件功能,因此您可以嵌入其他 SWF 文件。
现在,我们已经编写了一个 AS3 flash 应用程序,用作插件。我们可以直观地看到SWF文件,以及舞台上的所有东西。但实际上并没有 AS3 代码运行。
有没有可能在 AS1 编写的 SWF 中运行这个 AS3 编写的 SWF?
Our company uses Flash software from another vendor, written in AS1.
They have a plugin ability, so you can embed other SWF files.
Now, we have written a AS3 flash app, to be used as plugin. We can visually see the SWF file, and all things on the stage. But no AS3 code actually runs.
Is there any possible way to run this AS3-written SWF in a AS1 written SWF?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎不可能;以 ActionScript 1.0 或 2.0 编写的 SWF 文件无法加载以 ActionScript 3.0 编写的 SWF 文件。这意味着在 Flash 8 或 Flex Builder 1.5 或更早版本中编写的 SWF 文件无法加载 ActionScript 3.0 SWF 文件。
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3_Flex/WS5b3ccc516d4fbf351e63e3d118a9b90204-7ff9.html
Seems to be impossible; SWF files written in ActionScript 1.0 or 2.0 cannot load SWF files written in ActionScript 3.0. This means that SWF files authored in Flash 8 or Flex Builder 1.5 or earlier versions cannot load ActionScript 3.0 SWF files.
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3_Flex/WS5b3ccc516d4fbf351e63e3d118a9b90204-7ff9.html