As far as I recall mx:Binding just invokes a setter (for the destination
property) and I'm pretty sure it doesn't watch CollectionChanged either.

On Wed, Aug 13, 2008 at 8:42 PM, Amy <[EMAIL PROTECTED]> wrote:

>   --- In [email protected] <flexcoders%40yahoogroups.com>,
> "Richard Rodseth" <[EMAIL PROTECTED]>
> wrote:
>
> >
> > A little more context. I'm working on a view that builds itself
> dynamically
> > (adding children to various containers) based on a description.
> >
> > So suppose my view has a property called "description" which has a
> property
> > "things" that is the collection or array.
> >
> > It's no great hardship to add a listener in the setter for
> description, but
> > I wish I could say something like:
> >
> > <mx:WatchCollection source="{description.things}"
> handler="thingsChanged"/>
>
> Have you tried the Binding tag?
>
> The first time I ever saw it in action was in this file:
>
> http://examples.adobe.com/flex2/inproduct/sdk/photoviewer/PhotoViewer.
> html
>
> HTH;
>
> Amy
>
>  
>

Reply via email to