Apache flex 无法绑定到属性';xmlnode';在课堂上';XML';(类不是IEventDispatcher)

Apache flex 无法绑定到属性';xmlnode';在课堂上';XML';(类不是IEventDispatcher),apache-flex,flex4,Apache Flex,Flex4,我使用xmllistcollection在列表中显示数据。 每当我运行应用程序时,数据都会显示在列表控件中,但此警告已显示在控制台中。 如何删除此警告 警告:无法绑定到类“XML”上的属性“xmlnode”(类不是IEventDispatcher) 提前感谢使用ObjectProxy [Bindable] public var objProxy:ObjectProxy = new ObjectProxy(xmllistcollection); 将ur数据提供程序设置为objProxy。[Bin

我使用xmllistcollection在列表中显示数据。 每当我运行应用程序时,数据都会显示在列表控件中,但此警告已显示在控制台中。 如何删除此警告 警告:无法绑定到类“XML”上的属性“xmlnode”(类不是IEventDispatcher)

提前感谢使用ObjectProxy

[Bindable] public var objProxy:ObjectProxy = new ObjectProxy(xmllistcollection);

将ur数据提供程序设置为objProxy。

[Bindable]公共变量scheduleXmlListCollection:XMLListCollection;私有函数resultHandler(事件:ResultEvent):void{var scheduleXmlList:XMLList=new-XMLList(event.result.data);scheduleXmlListCollection=new-XMLListCollection();scheduleXmlListCollection.source=scheduleXmlList;}我有XMLListCollection类型的XMLListCollection;根据这个答案,flash builder会给我以下错误:无法转换mx.utils::ObjectProxy@31bec81到mx.collections.IList。