I handled this by creating a private var in the component like:

private var _listDataProviderWatcher:ChangeWatcher;

Then, in partAdded, I:

_listDataProviderWatcher = 
BindingUtils.bindProperty(myPart,"dataProvider",this,["presentationModel","listData"]);

Then, in partRemoved, I:

_listDataProviderWatcher.unwatch();


Just FYI.

--- In flexcoders@yahoogroups.com, "Ariel J" <arielj...@...> wrote:
>
> Can anyone suggest how to merge these? The issue is that the presenation 
> model is not necessarily available when the skin parts are added in 
> partAdded() which is where skin parts tend to be integrated. Does it involve 
> a lot of BindingUtils? How are people doing this?
>


Reply via email to