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

Show Posts

| * |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / Fabrication / SOLVED: Routed Notification triggers registered command 4 times on: March 30, 2009, 11:24:02
Hi...

Great work done with fabrication... Simplifies multicore apps a lot.

I have now a flex application with a lot of modules. and some modules are loaded by modules.
so i have a slight nested module setup.

example:

MainApplication -> loads -> Module A
                                      Module B -> loads -> Module C
                                                                   Module D
                                                                   Module E
                                      Module F

Now i try to route a notification from Module C to a command registered in the MainApplication. The notification gets handled by the command, but 4 times. Even when i use a mediator with respondTo<NOTIFICATION> the mediators respondTo Function is called 4 times.

I appreciate all help..
Thanks Oliver
Pages: [1]