I have a widget (A) that needs to share data only with widgets B and widget B needs to shared data only with widget C.
A-->B--->C
They are all pre-loaded and in the widget A and B is the code addSharedData("xxxxx", arraycollection)...
In the B and C widgets there is the line AppEvent.addListener(AppEvent.DATA_PUBLISH, sharedDataUpdated);
How do you specify that widget B will get the data only when they are sent from A, and widget C will listen from widget B only.
I hope it makes sense.
It seems it should be a way that there is AppEvent listener in B that is listening for a specific addSharedData like addShareData2 but I cannot find anything like this.
Thank you.