Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Flex with two swf modules demo need?  (Read 8343 times)
marks416
Sr. Member
****
Posts: 52


View Profile Email
« 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

Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 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>
Logged
marks416
Sr. Member
****
Posts: 52


View Profile Email
« Reply #2 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
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #3 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> 
Logged
mariusht
Full Member
***
Posts: 26


View Profile Email
« Reply #4 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/

Logged
Pages: [1]
Print