I am noticing some random Bindable Model flakiness. It is really hard
to pin down, but it seems that every once in a while it doesn't pick
up the change and fire the binding to the listeners. Sometimes I am
noticing that it isn't getting set, sometimes I notice that the
binding event doesn't fire.
I also noticed that if the events are close together, the model
doesn't like it. The app that I am building right now has 5 elements
of state. I will set them at various times, but I call a method in the
Model called update state which will update an array siteState.
public function updateSiteState():void {
siteState = [this.category, this.keyword, this.sort, this.page,
this.selectedImageId];
}
It seems that when I set:
model.keyword = "Lorem";
model.updateSiteState();
Every once in a while keyword doesn't get set before siteState is
set... Does that make sense? Have you ever seen this?
Thank you!
/ben