I'm new to Royale and am wanting to migrate a flex project to Royale. I've been following the instructions on the Apache site but am stuck.
My configuration: * VS Code with ActionScript and MXML extensions installed * Installed @apache-royale/[email protected] via npm. * Asconfig.json is as follows: { "compilerOptions": { "targets": [ "JSRoyale" ], "source-path": [ //"src" "src/org/ihc/hdd/hermes/views" ] }, //"mainClass": "Main" "mainClass": "Hermes" } The main source (which is called Hermes.mxml) Is as follows. I changed the xmlns:s and xmlns:mx lines as directed in the apache webpage. (https://apache.github.io/royale-docs/migrate-an-existing-app/migrate-from-flex) <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.apache.org/royale/spark" xmlns:mx="library://ns.apache.org/royale/mx" xmlns:views="org.ihc.hdd.hermes.views.*" creationComplete="init()" xmlns:ldapcommonservice="services.ldapcommonservice.*" minWidth="955" minHeight="800" width="100%" height="100%" backgroundColor="#D0E2F0"> The compiler errs on the <s:Application line stating the tag could not be resolved to an ActionScript class. It will be ignored. Have I missed something in the set up? The documentation seemed to indicate that the source code was compatible with the old flex code except these two lines. Any help will be greatly appreciated. One last item. I don't understand where the 'library:' prefix on the URI get resolved to. Is this a local reference to the SDK or is it to a remote server? Todd Stevenson NOTICE: This e-mail is for the sole use of the intended recipient and may contain confidential and privileged information. If you are not the intended recipient, you are prohibited from reviewing, using, disclosing or distributing this e-mail or its contents. If you have received this e-mail in error, please contact the sender by reply e-mail and destroy all copies of this e-mail and its contents.
