简体   繁体   English

将AS3 SWF嵌入到AS1 Flash应用程序中

[英]Embed AS3 SWF inside a AS1 Flash application

Our company uses Flash software from another vendor, written in AS1. 我们公司使用其他供应商提供的Flash软件(用AS1编写)。 They have a plugin ability, so you can embed other SWF files. 它们具有插件功能,因此您可以嵌入其他SWF文件。

Now, we have written a AS3 flash app, to be used as plugin. 现在,我们编写了一个AS3 Flash应用程序,用作插件。 We can visually see the SWF file, and all things on the stage. 我们可以直观地看到SWF文件以及舞台上的所有内容。 But no AS3 code actually runs. 但实际上没有AS3代码运行。

Is there any possible way to run this AS3-written SWF in a AS1 written SWF? 有没有可能在AS1编写的SWF中运行此AS3编写的SWF?

Seems to be impossible; 似乎不可能; SWF files written in ActionScript 1.0 or 2.0 cannot load SWF files written in ActionScript 3.0. 用ActionScript 1.0或2.0编写的SWF文件不能加载用ActionScript 3.0编写的SWF文件。 This means that SWF files authored in Flash 8 or Flex Builder 1.5 or earlier versions cannot load ActionScript 3.0 SWF files. 这意味着在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 http://help.adobe.com/zh_CN/ActionScript/3.0_ProgrammingAS3_Flex/WS5b3ccc516d4fbf351e63e3d118a9b90204-7ff9.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM