在ActionsScript中为一个不存在且文件为tempInit的文件获取错误

时间:2018-08-15 23:00:57

标签: actionscript-3 actionscript-2 animate-cc

因此,我要转换一个使用ActionScript 2.0的10年前的Flash文件。现在,我可以追溯到最后两个错误,但是最上面和最下面的错误都不存在,并且关于bytes_loader的错误也无效。

以下是错误:

enter image description here

以下是这里列出的错误,这些错误按照出现的顺序在图片中显示:

tempInit, Line 1, Column 15 1086: Syntax error: expecting semicolon before ECHO.
tempInit, Line 2, Column 15 1086: Syntax error: expecting semicolon before flowin.
Symbol 'bytes_loader', Layer 'Layer 2', Frame 1, Line 4, Column 22  1084: Syntax error: expecting rightbrace before leftbrace.
Symbol 'bytes_loader', Layer 'Layer 2', Frame 2, Line 8, Column 23  1084: Syntax error: expecting rightbrace before leftbrace.
tempInit, Line 1, Column 15 1086: Syntax error: expecting semicolon before implode.
tempInit, Line 1, Column 15 1086: Syntax error: expecting semicolon before lightflash.

现在,我可以在bytes_loader中找到这两个代码;

更新:

  1. 添加了在动作编辑器中显示的行号
  2. 确定tempInit在动作编辑器中不存在
  3. 电影中的第一帧是“停止”,然后是“符号定义”,然后是第一个元素:bytes_loader及其三帧。
  4. 这就是全部...

    1)frloaded = _root.getBytesLoaded(); 2)frtotal = _root.getBytesTotal(); 3)if(frloaded

AND

1) frloaded = _root.getBytesLoaded();
2) frtotal = _root.getBytesTotal();
3) if (frloaded < frtotal) {
4)  percentloaded = int((frloaded / frtotal) * 100) + "%";
5)  setProperty("wbar", _xscale, (frloaded/frtotal) * 100);
6)  setProperty("bbar", _xscale, (frloaded/frtotal) * 100);
7) } else {
8)  tellTarget ("_root") {
9)      play();
10)     }
11) }

我找不到对tempInit的引用。

所以,没有出错的代码有什么问题...

0 个答案:

没有答案