调用TweenMax时,使用TweenMax.to库获取VerifyError。这个错误似乎并不是特定于TweenMax的(我们发现其他人在使用无关代码时会出错)。也许有人对这个错误的含义以及可能导致它的原因有所了解。

编辑

似乎与匿名函数有关:https://bugs.adobe.com/jira/browse/SDK-14054

这是错误:

VerifyError: Error #1107: The ABC data is corrupt, attempt to read out of bounds. at global$init()

和完整的错误:
verify global$init()
                        stack:
                        scope:
                         locals: global
  0:getlocal0
                        stack: global
                        scope:
                         locals: global
  1:pushscope
                        stack:
                        scope: global
                         locals: global

2:debugfile
"D:\Projects\Mattel\PollyPocket\CutantsSite_PollyRelaunch\3_project-build\programming_teaser\code\classes;gs;TweenMax.as"
                        stack:
                        scope: global
                         locals: global
  5:debugline 387
                        stack:
                        scope: global
                         locals: global
  8:findpropstrict {gs}::TweenMax
                        stack: global
                        scope: global
                         locals: global
  11:getlex 2
                        stack: global Object$?
                        scope: global
                         locals: global
  13:pushscope
                        stack: global
                        scope: global Object$
                         locals: global
  14:getlex 16
                        stack: global gs::TweenLite$?
                        scope: global Object$
                         locals: global
  16:pushscope
                        stack: global
                        scope: global Object$ gs::TweenLite$
                         locals: global
  17:getlex 16
                        stack: global gs::TweenLite$?
                        scope: global Object$ gs::TweenLite$
                         locals: global
  19:newclass gs::TweenMax$cinit()
VerifyError: Error #1107: The ABC data is corrupt, attempt to read out of bounds.
      at global$init()

at
mattel.pollypocket.cutantssite.site.page.mycutants::CutantButtonWorldGroup/addedToStage()[D:\Projects\Mattel\PollyPocket\CutantsSite_PollyRelaunch\3_project-build\programming_teaser\code\classes\mattel\pollypocket\cutantssite\site\page\mycutants\CutantButtonWorldGroup.as:118]

最佳答案

您在编译器中发现一个错误。您现在所能做的最好的就是尝试找出导致该错误的原因并在bugs.adobe.com上提交错误报告。

作为旁注。例如,现在很少在Java编译器中发现错误。 ActionScript编译器仍存在许多奇怪的控制流等问题。

10-08 00:45