Melliti opened a new issue #934: URL: https://github.com/apache/royale-asjs/issues/934
Hi, I'm working on a migration from Flex to Apache Royale. I had an issue with SharedObject and I fixed it but i don't understand why I had an issue and the solution. first, I follow the syntax as it's written here: `https://apache.github.io/royale-docs/features/loading-external-data/localsharedobject` But, i get this error: `Type was not found or was not a compile-time constant: SharedObject.` I did some research and i found a stackOverflow post that suggests to import SharedObject: `import mx.net.SharedObject;` And then I had this error: `Definition mx.net.SharedObject could not be found` If i add `+configname=flex` it compiles and everything is fine. So, my questions are: - **What exactly do `+configname=flex`?** I found this on a post: "this option ensures the compiler takes care of any existing flex code" from https://walkingtree.tech/getting-started-apache-royale/ - **Why it doesn't work without `+configname=flex` while i'm following the documentation?** ---------------------------------------------------------------- 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]
