Bindable Model Flakiness...

2 views
Skip to first unread message

Ben McMaster

unread,
Mar 30, 2010, 10:15:43 PM3/30/10
to bumpslide
Hey David,

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

Reply all
Reply to author
Forward
0 new messages