Maybe you need to add: *-js-default-initializers=true* check this: https://apache.github.io/royale-docs/create-an-application/optimizations/compiler-configuration-settings.html#default-initializers
El dom, 13 dic 2020 a las 20:25, Maria Jose Esteve (<[email protected]>) escribió: > Hello, I am "studying" 😝 and I am facing a problem that I cannot solve ... > A simple example of authentication (sending credentials and receiving ok / > nook message): > - A view to enter loginname and password. > - A model. LoginModel > - A controller. LoginController > - A delegate. LoginDelegate. A single method "login (username: String, > pwd: String)" > - An event. LoginSignInEvent. > - ASP.Net Backend - AMF (FluorineFx endpoint) through "mx: RemoteObject". > - In App.mxml is the definition and configuration of crux. > > The example works perfectly if the controller and the delegate are located > in the same project as the views (App.mxml, MainContent.mxml) but if I put > them in a library project it doesn't work: > Requests from the view reach the controller and also the delegate BUT they > don't reach the backend. > > The only prompt I get on the console, and it also occurs when everything > works fine, is: > [WARNING] getStaticConstantsByConvention :: the reflection target > mx.rpc.remoting.mxml.RemoteObject was not Compiled with default > initializers enabled > > Any idea where I can continue investigating? > As always, any help will be super-welcome 😝 > > Thank you all. > Hiedra > > -- Carlos Rovira Apache Member & Apache Royale PMC *Apache Software Foundation* http://about.me/carlosrovira
