[flexcoders] Re: Binding using Interface

2008-08-26 Thread ilanavigdor
Hi Sefi, I tryed to reproduce your problem, but couldn't. I have the following interface: package { public interface IMyInterface { function set MyProp(value:int):void function get MyProp():int } } and the following implementing class:

Re: [flexcoders] Re: Binding using Interface

2008-08-26 Thread Sefi Ninio
That's because you're using the concrete class. Try working with the interface. Something like: mx:Label id=label text={IMyInterface.myProp}/ Since the concrete class implements the getter with the Bindable metatag, the binding will work, but the warning will still be there... On Tue, Aug 26,