mx.binding.utils.BindingUtils.bindProperty(bb, "dataProvider", this, "vs");
R.
On 6/8/07, zzwi89 <[EMAIL PROTECTED]> wrote:
Apologies if this question has been posted; I couldn't find anything
similar in the archives.
Suppose I have the following in MXML:
<mx:ButtonBar dataProvider="{vs}" id="bb"/>
<mx:ViewStack id="vs"/>
How would I set that binding in AS?
Trying something like this:
mx.binding.utils.BindingUtils.bindProperty(bb, "dataProvider", vs, null);
Doesn't work, because I don't know what to set the chain property to.
I don't to bind just a property of the ViewStack, I want to bind the
ViewStack.
Any thoughts?