flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35107) Error setting property of class when the type is XML
Date Tue, 05 Jul 2016 20:12:10 GMT
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)

Mime
View raw message