Hi T-San, Welcome.mxml must be the last compiler option.
I'm not sure why you are getting an error in the second configuration. I tried on a non-existing file: js/bin/mxmlc +configname=flex Welcome.mxml And got: Using Royale Compiler codebase: js/bin/../.. Using Royale SDK: js/bin/../.. MXMLJSC +royalelib=js/bin/../../frameworks -sdk-js-lib=js/bin/../../frameworks/js/Royale/generated-sources +configname=flex Welcome.mxml Loading configuration: /Users/aharui/git/royale/ant/royale-asjs/frameworks/flex-config.xml Error: unable to open 'Welcome.mxml'. See where it says "Loading configuration: ... flex-config.xml". I'm not sure why you didn't get that. Make sure there is an MXRoyaleJS.swc in frameworks\js\libs Also try adding -compiler.targets=JSRoyale Thanks, -Alex On 5/16/19, 3:00 PM, "T-san" <jl03...@gmail.com> wrote: Alex, I tried the following two commands; both failed. ************************************************************************* C:\apache-royale-source>c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\mxmlc Welcome.mxml +configname=flex C:\apache-royale-source>if "x" == "x" (set "ROYALE_COMPILER_HOME=c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\.." ) else echo Using Royale Compiler codebase: C:\apache-royale-source>if "x" == "x" (set "ROYALE_HOME=c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\.." ) else echo Using Royale SDK: MXMLJSC -sdk-js-lib=c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\..\frameworks\js\Royale\generated-sources Welcome.mxml +configname=flex エラー : '+configname=flex' を開くことができません。 ************************************************************************** C:\apache-royale-source>c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\mxmlc +configname=flex Welcome.mxml C:\apache-royale-source>if "xc:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\.." == "x" (set "ROYALE_COMPILER_HOME=c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\.." ) else echo Using Royale Compiler codebase: c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\.. Using Royale Compiler codebase: c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\.. C:\apache-royale-source>if "xc:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\.." == "x" (set "ROYALE_HOME=c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\.." ) else echo Using Royale SDK: c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\.. Using Royale SDK: c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\.. MXMLJSC -sdk-js-lib=c:\apache-royale-0.9.6-bin-js\royale-asjs\js\bin\..\..\frameworks\js\Royale\generated-sources +configname=flex Welcome.mxml C:\apache-royale-source\Welcome.mxml(17): col: 1 エラー : このタグを ActionScript class に解決できませんでした。このタグは無視されます。 <mx:Application xmlns:fx="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C5b0833279e2c407dfcd008d6da49db45%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636936408079687905&sdata=miRUpAxznaruP5lOeIHKA9YhG9arX5QBjVBpAfV%2FTvQ%3D&reserved=0" -- Sent from: https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-royale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C5b0833279e2c407dfcd008d6da49db45%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636936408079687905&sdata=keSh34tFulFwhV1Nj%2FI2bw09TCiaRbM8GoV%2BpNQWqSY%3D&reserved=0