Hi,
is there a way to avoid compiler warnings "Data binding will not be able to
detect assignments to myVar" when binding to properties of Proxy class?
My class goes something like this:

import vegas.data.map.ArrayMap;

dynamic public class MyProxyClass extends Proxy implements IEventDispatcher
{
   private var _fields:Map;
   _fields = new ArrayMap();

   override flash_proxy function getProperty(name:*):* {
      var val:Object=_fields.get(String(name));        
      return _fields.get(String(name));
   }

   override flash_proxy function setProperty(name:*, value:*):void {
      if (_fields.get(String(name)) !== value) {
         var oldValue:String = _fields.get(String(name));
         _fields.put(String(name), value);
         this.dispatchEvent(PropertyChangeEvent.createUpdateEvent(this,
String(name), oldValue, value));
       }
   }
}

Thanks,
Tomislav
-- 
View this message in context: 
http://www.nabble.com/Binding-to-proxy-class-tp15191361p15191361.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to