当我向Adobe Animate 2019中的MovieClip添加.as类时遇到以下错误:
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文件没什么特别之处。
打开“高级图层”时会发生此问题。您必须关闭“高级图层”才能在项目中使用某些代码。
1.转到属性面板。
2.单击“高级设置”。
3.取消选中“使用高级图层”模式。
4.单击确定。