I'm not sure why Array does not issue a warning. Neither Array length nor Vector length is bindable, so you will not be able to bind to changes in either case. The warning is there for a reason.
If you still want to suppress it, select Project > Properties > Flex Compiler and uncheck the "enable warnings" box.
I'm pretty sure the lack of warning for Array is on purpose. Yes, none of its properties are Bindable obviously but you would usually replace the whole array to trigger the binding; if that's not ideal then using IList is the obvious move.
I don't want to supress ALL warnings, that's for sure!
The mystery goes on!
Hi, I also get this warning with Flash Builder 4 and Flex 4 SDK. I am binding a property to a List.selectedItems. Despite the warning, this is working !
Is there any way to fix it, or do we have to wait for an update ?
Vector is a low-level Flash class and doesn't support binding. I will be
surpised if the binding works as you add and remove items from the Vector.
You can implement a wrapper for a Vector and make it bindable.