Title: Flex with two swf modules demo need? Post by: marks416 on February 27, 2009, 06:30:36 Hi,
I plan to build two modulea with Flex and create two swf files from them. Then I use shell to load the two modules and I need communication between them. Do you have a similar demo for this?Please let me know. Thanks Mark Title: Re: Flex with two swf modules demo need? Post by: puremvc on February 27, 2009, 07:10:58 Yep. Check out Modularity and PipeWorks on the MultiCore page:
http://trac.puremvc.org/PureMVC_AS3_MultiCore -=Cliff> Title: Re: Flex with two swf modules demo need? Post by: marks416 on March 03, 2009, 08:25:05 Hi Cliff,
Thanks I read the pipeworks. shell load modules with mediators in the demo? I am looking for a demo that load module at runtime with ModuleLoader. which demo is like that? How to change the code to make pipeworks can use ModuleLoader? Thanks Mark Title: Re: Flex with two swf modules demo need? Post by: puremvc on March 06, 2009, 06:29:52 The modularity and Pipeworks demos are deliberately not loading the modules for two reasons. First, their focus is on inter-core communications, and second, it would be cumbersome for the beginner to setup, since in the real world you'd have at least 3 projects per demo; one for module(s), one for common shared code and one for the sehll/main app.
You might examine how the Fabrication framework loads its MultiCore modules at http://codedrunks.org -=Cliff> Title: Re: Flex with two swf modules demo need? Post by: mariusht on July 08, 2009, 01:23:38 Hi All,
I made a simple demo(two modules loaded at runtime talk to each other). I want to point out that modules are not connected to shell. Messages are sent directly through pipes Module-Pipe-Module. http://mariusht.com/blog/2009/07/08/module-to-module-communication/ Mariush T. http://mariusht.com/blog/ |