我有两个 FLA 文件,称为 MAP.fla 和 ANI.fla,我必须合并它们。我尝试的一种方法是在运行时使用加载器和 URLRequest 的正常方式在 MAP.swf 中加载 ANI.swf。但是,当我尝试运行它时,flash 会检测到有关我包含在 ANI.swf 中的方法的错误。
我确实知道 Loader 和 URLRequest 方法有效,因为我尝试将它与具有更简单内容的不同 SWF 文件一起使用。
PS ANI.swf 包含方法、具有自己的类的实例和计时器事件。如果 Loader 无法在我的 SWF 上运行,是否有任何其他方法可以在不影响我的 FLA 的情况下谨慎执行此操作?
以下是我收到的错误消息。谢谢。:)
TypeError: Error #1010: A term is undefined and has no properties.
at stageRotation/stageRotation::pause()
at stageRotation/::create()
at stageRotation/::initStage()
at stageRotation$iinit()