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 / General Discussion / Mediator having a reference to a view on: January 02, 2012, 01:17:43
I am having a reference to a viewComponent class ( say A_View )  inside a mediator ( SystemMediator ) . So naturally SystemMediator can use the reference of this viewcomponent to access all the member functions of A_View.  So, is this ok ? I am doubtful ? Should i use sendNotification to access the A_Mediator and then access the member function of A_View. But why should i adopt this roundabout way when reference is present in SystemMediator.

Thanks.
V.


2  Announcements and General Discussion / General Discussion / Adding Listener to componentDataProxy ? on: November 25, 2011, 12:29:12
I wanna listen to some event dispatched by componentDataProxy.
However, i note that i can't do  since dataProxy doesnot have addEventListener function. How should i achieve it ?

Thanks
V.
3  Announcements and General Discussion / General Discussion / Is it mandatory to use removeMediator when not using mediator anymore on: November 21, 2011, 09:16:30
Hi!
Is removeMediator like removeListener, which should be used after mediator is not meant to be used anymore. Is it mandatory...like if i don't use it, would it add to garbage ?
4  Announcements and General Discussion / General Discussion / Setting a variable in dataProxy on click of a button inside a component on: November 15, 2011, 06:45:13
hi!
I want to set a variable inside dataProxy, on click of a button present inside instance of view component. So that i may use the value of that variable from StageMediator.
I don't know, how to access dataProxy from the instance of component, so that i can change variable's value inside it on click of button inside view component

Thanks
V.
5  Announcements and General Discussion / General Discussion / How's sendNotification() different from flash's dispatchEvent() ? on: November 13, 2011, 01:21:07
Puremvc uses sendNotification to broadcast it's events. How is it different from dispatchEvent ?

thanks
V.
Pages: [1]