I have created multiple ArrayCollections as seen in the code
below. They are public vars. I use the ArrayCollections as bindable
data for datagrids and text fields throughout the program.
public var categories:ArrayCollection=new ArrayCollection
public var targetGridData:ArrayCollection=new
public var targetGridArray:ArrayCollection=new
Why does the binding only work on the var categories in the
above code (first var created)? I thought that the Bindable would
apply to any public var created below it? In addition, when I try
and add [Bindable] below the categories to create the next one as
Bindable as well it throws an error "Access of undefined property
Bindable" From documentation I see plenty of examples of using the
[Bindable] multiple times in an mxml file.
I got the problem solved. Be prepared to feel ashame... We
didn't finish each declaration in an ; ! The compiler is pretty
easy going on not finishing in an ; but when you declare variables
that are bindable, it gets picky!
That is how I got mine solved.