You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Harbs (JIRA)" <ji...@apache.org> on 2016/07/05 20:12:10 UTC
[jira] [Created] (FLEX-35107) Error setting property of class when
the type is XML
Harbs created FLEX-35107:
----------------------------
Summary: Error setting property of class when the type is XML
Key: FLEX-35107
URL: https://issues.apache.org/jira/browse/FLEX-35107
Project: Apache Flex
Issue Type: Bug
Components: FlexJS
Affects Versions: Apache FalconJX 0.6.0
Reporter: Harbs
Take the following code:
import org.apache.flex.events.Event;
public class DataEvent extends Event
{
public function DataEvent(type:String)
{
super(type);
}
public var xmlData:XML;
}
and somewhere else:
var xml:XML = <foo/>;
var ev:DataEvent = new DataEvent("Data");
ev.xmlData = xml;
The will compile to:
ev.setChild('xmlData', xml);
It appears that it's treating the class as XML although it's just an XML property in an unrelated class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)