Hi Alex, Now that is fantastic!
The error it was failing on was in a .as file that was unchanged from the old Flex project where it worked. The problem is that when a Number expression of the form myObj[myArr[i].name] is on the right-hand side of = or == it needs to be explicitly cast to Number(). But now that the js compiler shows you very clearly where the problem is, this is just a trivial thing. Now the whole project compiles with a big bunch of warnings about changing public vars to getter/setters, which I am working through. Apart from this I am left only with these three errors: Mar 18, 2018 1:16:00 PM com.google.javascript.jscomp.LoggerErrorManager println : SEVERE: ERROR - Cannot read file .../bin/js-debug/Main.js: Failed to read: ...\bin\js-debug\Main.js, is this input UTF-8 encoded? : : Mar 18, 2018 1:16:00 PM com.google.javascript.jscomp.LoggerErrorManager println : SEVERE: ERROR - Cannot read file .../bin/js-debug/org/apache/royale/textLayout/elements/ListElement.js: Failed to read: ...\bin\js-debug\org\apache\royale\textLayout\elements\ListElement.js, is this input UTF-8 encoded? : : Mar 18, 2018 1:16:00 PM com.google.javascript.jscomp.LoggerErrorManager println : SEVERE: ERROR - Cannot read file .../bin/js-debug/org/apache/royale/textLayout/factory/StringTextLineFactory.js: Failed to read: ...\bin\js-debug\org\apache\royale\textLayout\factory\StringTextLineFactory.js, is this input UTF-8 encoded? Since all the mxml files in the project start with the line : <?xml version="1.0" encoding="utf-8"?> , I'm not quite sure what this is about? Doug -- Sent from: http://apache-royale-users.20374.n8.nabble.com/
