From what I have learned thusfar, Royale cannot use Flash components any longer, so for instance you can't use "import flash.display.Bitmap"
But a lot of MX and Spark components can still be used and are quite important, like remoteobject for AMF. Any object that has dependency on Flash of course will fail, but not all of them do. I need to hand pick a couple of very useful ones so I need to include the libraries.
Plus, the Royale team has created a SparkRoyaleJS.swc which is specifically the way to use the Spark components in Royale. I just can't figure out how to include them in my project, and I'm pretty sure my asconfig is the problem. for instance, if I want to include several libraries instead of just one, do I do it like this:
"library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc",
"${royalelib}/js/libs/SparkRoyaleJS.swc"
],
Or do I do it like this:
"library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc, ${royalelib}/js/libs/SparkRoyaleJS.swc"
],
Or do I do it like this with no comma:
"library-path": [
"${royalelib}/js/libs/MXRoyaleJS.swc ${royalelib}/js/libs/SparkRoyaleJS.swc"
]
I have no idea how to include multiple swc's into a VS Code project using Josh's asconfig.