aharui commented on issue #532: 2d Array not working with Royale URL: https://github.com/apache/royale-asjs/issues/532#issuecomment-547545641 e.result is an Array with one item that is an ArrayCollection. So `arrDDResult[0]' is an ArrayCollection which is a subclass of Proxy. In Flash, the runtime can determine the type of the object and use the appropriate access. In JS it cannot, so when migrating, Royale code that accesses Proxy (and XML) needs strong-typing to tell the compiler what the appropriate access is. That's why `arrDDResult[0][0]` does not work in Royale, because this is not a 2d array. The second `[0]` is accessing an ArrayCollection, not an Array. You should be able to use: `(arrDDResult[0] as ArrayCollection)[0]` getItemAt is not being used in this scenario so I cannot investigate any errors as described earlier in this issue. Choose the correct code for accessing the ArrayCollections and then see if there are other issues.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
