how to communicate between RL instances
I am building a Flex Application which holds 2 widgets; each widget runs it's own instance of RL.
I was wondering if there was a way to get the 2 widgets to communicate with each other.
For example, I may want to have a button click on Widget 1 update the content of a label in Widget 2.
Are there any guidelines / examples of how to do this?
Thanks.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Shaun Smith on 06 Jan, 2010 11:17 PM
There are many ways to go about this, but unfortunately no good examples (yet). Stray has put together some utility classes to assist with modular development that you can find here:
http://github.com/Stray/robotlegs-utilities-Modular
The basic idea is that you share a secondary IEventDispatcher between those contexts that they can use to communicate on.
herm.wong closed this discussion on 23 Aug, 2010 03:42 AM.