--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> "Object" is dynamic and you can't bind to it. (I would expect 
binding
> warnings from the compiler) Create your own bindable class.  Or 
wrap the
> Object in ObjectProxy, if I recall correctly.

Couldn't he also do something like this in the component:

private var _obj:Object;
private var _objChanged:Boolean;

public function set obj(obj:Object):void{
  _obj=obj;
  _objChanged=true;
  invalidateProperties;
}

public function get obj():Object{
   return _obj;
}

override protected function commitProperties():void{
   super.commitPropertis();
   theButton.label = obj.str;
}

I personally would also pass in the property name to bind to to make 
it loosely coupled, but that's JMO.

HTH;

Amy

Reply via email to