Webdevotion wrote:
> 
> This fires the event I want:
> var collection : Array = model.downloads.toArray();
> collection.push( newDownloadVO );
> model.downloads = new ArrayCollection( collection );
> 
> 
> model.downloads.addItem( aNewDownloadVO ) will not fire an event.
> 
> Any one knows why ?
> 
> 

Check this out
http://www.mail-archive.com/[email protected]/msg55479.html
http://www.mail-archive.com/[email protected]/msg55479.html 

It looks like it doesnt look inside your array for changes, so you need to
do what you just did then create a new array with the source of you ammended
one.

model.downloads.addItem( aNewDownloadVO );
model.downloads = new ArrayCollection( model.downloads.source );

-- 
View this message in context: 
http://www.nabble.com/Re%3A-problem-firing-ChangeWatcher-event-on-specific-ModelLocator-property-tf3326942.html#a9296054
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to