unable to bind to property 'money' on class 'Object' (class is not an IEventDispatcher)
来源:互联网 发布:淘宝运动鞋店铺 编辑:程序博客网 时间:2024/06/13 00:14
Flex warning: unable to bind to property 'money' on class 'Object' (class is not an IEventDispatcher)
当绑定Object数据到组件时,可能会出现这样的错误
warning: unable to bind to property 'money' on class 'Object' (class is not an IEventDispatcher)
遇到这种情况原因时Object不具备抛出改变事件的能力,此时需要ObjectProxy 代理取代Object。代码如下:
//如果你这么写,会报警告
[Bindable]
private var data:Object= {id:1,title:"你好"};
//应该这样
private var data:Object= {id:1,title:"你好"};
[Bindable]
private var dataProxy:ObjectProxy = new ObjectProxy(data);
0 0
- unable to bind to property 'money' on class 'Object' (class is not an IEventDispatcher)
- warning: unable to bind to property '' on class 'Object' (class is not an IEventDispatcher)
- warning: unable to bind to property '' on class 'Object' (class is not an IEventDispatcher)
- Flex warning: unable to bind to property 'name' on class 'Object' (class is not an IEventDispatcher)
- 解决此类问题:warning: unable to bind to property '' on class 'Object' (class is not an IEventDispatcher) .
- warning: unable to bind to property '' on class '' (class is not an IEventDispatcher)
- Flex unable to bind to property xxx on class xxx 的问题
- unable to locate a constructor on class ..
- Unable to locate appropriate constructor on class
- Unable to locate appropriate constructor on class
- Unable to instantiate fragment make sure class name exists, is public, and has an empty constructor
- Unable to instantiate fragment make sure class name exists, is public, and has an empty constructor
- Unable to parse template "Class" Error message: This template did not produce a Java class or an int
- object is not an instance of declaring class
- object is not an instance of declaring class 反射异常
- object is not an instance of declaring class 反射异常
- 报错:object is not an instance of declaring class
- hibernate 4 object is not an instance of declaring class
- sscanf的使用
- Android 下拉刷新框架实现
- 算法导论 第6章 堆排序(简单选择排序、堆排序)
- CentOS6.5 将用户添加到sudoers里
- lihnux特殊装置 loop 挂载
- unable to bind to property 'money' on class 'Object' (class is not an IEventDispatcher)
- catalina.sh设置JAVA_HOME后还无法解决更换JDK有关问题
- KGLHD
- 斐波那契堆
- Oracle升级_oracle 10g版本由 10.2.0.1.0升级为10.2.0.4.0(即CPU升级)
- 3.1.5、准备卸载你的应用程序
- 我应该如何有效地学习linux?(持续更新)
- 使用lua螺旋打印数组
- Mac OS X下使用launchctl定时启动AppleScript脚本