Well, I finally could build a sample app (kind of 'hello world') with Royale asjs 0.9.0, FlashBuilder 4.7 on Windows.
Please review my previous message for how to setup the various parameters of the sdk. This message is about the setup of FB itself. 1. As was noted in (4) from my previous message, at this point, you have to manually add the frameworks/libs folder to the "build paths" of the project. Otherwise, auto-complete will not work. Hopefully, this will be fixed in a next release as well as the inconsistencies in parameter files. 2. The "Project > settings" > "Flex compiler" > "use a specific sdk" setting should obviously point to the unzipped sdk rot folder 3. If you want the generated js output to go to some specific place, use the "js-output" additional compiler argument followed by the path to the specific directory. You do not need to reference the "bin/js-debug" (the compiler will automatically write the various output file in bin/js-debug, and will create those folders if necessary). I our case, me make it point to a http server document folder : this allows to check output in the browser as server by a real http server (and not as a file:// url) 4. Do not use the "output folder path" nor the "output folder url" for js output since this one is for swf output only. 5. Setup a "run configuration" pointing to the bin/js-debug folder (and to the index.html file !). 6. After successful compile and run, check that the content of the browser is really the js output and not the swf output ! About root mxml source file : If you have AS3 code in the main (entry) source mxml, be sure to put it *above* (before) the <js:initialView> opening tag. Bugs ? The "applicationComplete" event does not seem to fire, although you can attach an event listener to it... Probably the event fires in swf mode, but not in js mode... Nicolas Granon > -----Message d'origine----- > De : Alex Harui [mailto:[email protected]] > Envoyé : samedi 28 octobre 2017 08:57 > À : [email protected]; [email protected] > Objet : Re: Apache Royale 0.9 setup > > Hmm. Not sure why code-assist isn't working. Looking into it... > > -Alex > > On 10/26/17, 4:25 PM, "Idylog - Nicolas Granon" <[email protected]> > wrote: > > >Many thanks for your answer. > > > > > >We have done what you suggest and : > >Previous errors do not show any more (that is good !) > > > >Auto-completion still doesn't not work *at all* (implies that "import" > >directives are not generated and we cannot compile since of course all > >interfaces, type definition etc. cannot be found). (and that is not > >good at all!) > > > >The IDE is definitely missing something... > > > >Any thought ? > >Should there be a "flex-typedefs" folder , or a "royale-typedefs" > >folder ? There is no such folder in the bin archive. > > > >Nicolas Granon > > > > > > > >
