Posts Tagged “linkage identifier”

1086: Syntax error: expecting semicolon before line

Have you ever seen this error, when trying to move your fla from AS2 to AS3:

Location: tempInit, Line 2   Description: 1086: Syntax error: expecting semicolon before line.”

In my case the problem was that I had a movieclip with a Linkage identifier in my AS2 file that contained space in the name. When I moved to AS3 all my Linkage identifiers were converted to class names and when I tried to compile my AS3 flash file I got this error above.

So be careful when you name your linkage identifiers. Better use “camel case” instead of using spaces. This will help you move your AS2 fla file to AS3 fla file without seeing this error.

Happy coding!

  • Share/Bookmark

Comments No Comments »

TxEff - The Flash Text Effects