Re: CRUX event not found

2021-03-13 Thread David Slotemaker de Bruine
OK! So creating an instance of the event in application complete did the trick. Also I changed the root "event" folder to "events" as it was causing problems when the as was converted to javascript. On 2021/03/12 21:30:48, David Slotemaker de Bruine wrote: > It's not working in either. I wi

Re: CRUX event not found

2021-03-12 Thread David Slotemaker de Bruine
It's not working in either. I will try as you suggest. Thanks! On Fri., 12 Mar. 2021, 22:28 Greg Dove, wrote: > > Hi David, > > Is it working in debug build, but perhaps not in release? > > You might need to include a concrete reference to the class. If > event.common.CommonEvent is not actually

Re: CRUX event not found

2021-03-12 Thread Greg Dove
Hi David, Is it working in debug build, but perhaps not in release? You might need to include a concrete reference to the class. If event.common.CommonEvent is not actually present in the build, then the reflective access to the class will fail. you may need to force a reference to the class in t

CRUX event not found

2021-03-12 Thread David Slotemaker de Bruine
Hi all, I have the following defined in my App.mxml But I am getting this error when running the app: Uncaught Error: Could not get a reference to class for CommonEvent.EVENT_CARGAR_CONFIGURACIONES. Did you specify its package in cruxConfig::eventPackages? Events for event.us