因此,我要转换一个使用ActionScript 2.0的10年前的Flash文件。现在,我可以追溯到最后两个错误,但是最上面和最下面的错误都不存在,并且关于bytes_loader的错误也无效。
以下是错误:
以下是这里列出的错误,这些错误按照出现的顺序在图片中显示:
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)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的引用。
所以,没有出错的代码有什么问题...