1

在 Adob​​e Animate 2019 中将 .as 类添加到 MovieClip 时遇到以下错误:

ReferenceError: Error #1069: Property loopMode not found on Symbol1 and there is no default value.
at privatePkg::___LayerProp___$/executeFrameHelper()[C:\Program Files\Adobe\Adobe Animate CC 2019\Common\Configuration\Camera\Flash\privatePkg\___LayerProp___.as:87]
at privatePkg::___LayerProp___/executeFrame()[C:\Program Files\Adobe\Adobe Animate CC 2019\Common\Configuration\Camera\Flash\privatePkg\___LayerProp___.as:68]
at Symbol1/applyLayerZdepthAndEffects()[Symbol1::frame1:17]
at Symbol1/frame1()[Symbol1::frame1:10]
at runtime::ContentPlayer/loadInitialContent()
at runtime::ContentPlayer/playRawContent()
at runtime::ContentPlayer/playContent()
at runtime::AppRunner/run()
at ADLAppEntry/run()
at global/runtime::ADLEntry()


ReferenceError: Error #1069: Property loopMode not found on Symbol1 and there is no default value.
at privatePkg::___LayerProp___$/executeFrameHelper()[C:\Program Files\Adobe\Adobe Animate CC 2019\Common\Configuration\Camera\Flash\privatePkg\___LayerProp___.as:87]
at privatePkg::___LayerProp___/executeFrame()[C:\Program Files\Adobe\Adobe Animate CC 2019\Common\Configuration\Camera\Flash\privatePkg\___LayerProp___.as:68]
at privatePkg::___LayerProp___/enterFrame()[C:\Program Files\Adobe\Adobe Animate CC 2019\Common\Configuration\Camera\Flash\privatePkg\___LayerProp___.as:63]
ReferenceError: Error #1069: Property loopMode not found on Symbol1 and there is no default value.
at privatePkg::___LayerProp___$/executeFrameHelper()[C:\Program Files\Adobe\Adobe Animate CC 2019\Common\Configuration\Camera\Flash\privatePkg\___LayerProp___.as:87]
at privatePkg::___LayerProp___/executeFrame()[C:\Program Files\Adobe\Adobe Animate CC 2019\Common\Configuration\Camera\Flash\privatePkg\___LayerProp___.as:68]
at privatePkg::___LayerProp___/enterFrame()[C:\Program Files\Adobe\Adobe Animate CC 2019\Common\Configuration\Camera\Flash\privatePkg\___LayerProp___.as:63]

相同的项目可以在早期版本的 Animate 或 Flash 上正常工作。.as 文件没有什么特别之处。

4

1 回答 1

6

当“高级图层”打开时会发生此问题。您必须关闭“高级图层”才能在您的项目中有一些代码。

1.转到属性面板。

2.点击“高级设置”。

3.取消选中“使用高级图层”模式。

4.点击确定。

于 2019-02-13T19:55:49.350 回答