Re: How to launch mx:Application from another mx:Application at runtime

2021-12-03 Thread Harbs
More food for thought: I love comparing this app with: https://opensource.adobe.com/spectrum-css/ and https://react-spectrum.adobe.com/react-spectrum/index.html because if you compare t

Re: How to launch mx:Application from another mx:Application at runtime

2021-12-03 Thread Harbs
If you do run into this, there should be work-arounds. And if not, that would be a bug that we’d like to fix. > On Dec 3, 2021, at 11:05 AM, Harbs wrote: > > It’s possible that you might run into conflicts between the CSS and CSS > application of beads. That’s something to keep your eye out f

Re: How to launch mx:Application from another mx:Application at runtime

2021-12-03 Thread Harbs
> It might be > the solution to have a monolith application, although my boss seems against > this idea. I REALLY recommend doing some profiling. Your boss is probably basing their opinion on experience with Flash. Modules were pretty important there for performance. For other JS frameworks modu

Re: How to launch mx:Application from another mx:Application at runtime

2021-12-02 Thread GAbe Barbosa
Ahh i see. The application I'm porting had a hub application where they loaded at runtime .swf applications on user demand. They have about 150 of these "views". ModuleLoader isn't fully baked out and I still have to instantiate via window["module"["path"] which is a workaround. It might be the sol

Re: How to launch mx:Application from another mx:Application at runtime

2021-12-02 Thread Harbs
There’s an component. You should use that. It sounds like you are trying to add an actual html element directly in MXML. That’s not going to work very well. > Not sure what you mean by cross-op, but would need the apps to share many > models or singletons. Sharing models and singletons is not

Re: How to launch mx:Application from another mx:Application at runtime

2021-12-02 Thread GAbe Barbosa
Thanks for responding Harbs! Could you give me an example of this please. The only way I've been able to load the other mx:Application is modifying the index.html and adding an then instantiating the object via: var obj :Object = window.frames["0"]["application"]["path"]; obj = new obj();

Re: How to launch mx:Application from another mx:Application at runtime

2021-11-25 Thread Harbs
How much cross-op do you need? I’d probably load it in an iframe you can use either or If you need limited communication, you can use postMessage to communicate between the two apps. https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage > On Nov 25, 2021, at 1:29 AM, GAbe Barb

How to launch mx:Application from another mx:Application at runtime

2021-11-24 Thread GAbe Barbosa
Hi royale folks, I've tried using mx:Modules with no success. I'm trying to come up with an alternative solution and need help. How would you launch/load an application from the currently running application at runtime. Ensuring I don't get any duplicate deps is a whole other problem, so don't wo