How do i use BindingUtils.bindProperty with XML variables?
this is essentially what im trying to figure out:
Code:
var tree:Tree = new Tree();
[Bindable] var my_xml:XML =
<my_xml>
<node id=1/>
<node id=2/>
</mx_xml>;
BindingUtils.bindProperty(tree, "dataProvider", this, "my_xml");
This does not work. is it not possible to bind to "dataProvider"? If i wasnt binding, i would have to do this everytime my_xml changed. which is what im trying to avoid