tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/31-how-to-communicate-between-rl-instancesRobotlegs: Discussion 2013-04-28T10:30:31Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/8071982010-01-05T21:32:26Z2010-01-05T21:36:51Zhow to communicate between RL instances<div><p>I am building a Flex Application which holds 2 widgets; each
widget runs it's own instance of RL.</p>
<p>I was wondering if there was a way to get the 2 widgets to
communicate with each other.</p>
<p>For example, I may want to have a button click on Widget 1
update the content of a label in Widget 2.</p>
<p>Are there any guidelines / examples of how to do this?</p>
<p>Thanks.</p></div>herm.wongtag:robotlegs.tenderapp.com,2009-10-18:Comment/8071982010-01-06T23:17:34Z2010-01-06T23:17:34Zhow to communicate between RL instances<div><p>There are <em>many</em> 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:</p>
<p><a href=
"http://github.com/Stray/robotlegs-utilities-Modular">http://github.com/Stray/robotlegs-utilities-Modular</a></p>
<p>The basic idea is that you share a secondary IEventDispatcher
between those contexts that they can use to communicate on.</p></div>Shaun Smith