[
https://issues.apache.org/jira/browse/FLEX-35203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15953799#comment-15953799
]
Devsena commented on FLEX-35203:
--------------------------------
I gave a test with latest development source of FlexJS in a MDL project, and I
confirm I able to get an online XML file with HTTPService class and convert the
fetched data as an XML and display XML.toXMLString() to a MDL TextField.
Thanks!
> XML() class is broken javascript mode in 0.8 dev
> ------------------------------------------------
>
> Key: FLEX-35203
> URL: https://issues.apache.org/jira/browse/FLEX-35203
> Project: Apache Flex
> Issue Type: Bug
> Components: FlexJS
> Affects Versions: Apache FlexJS 0.7.0, Apache FlexJS 0.8.0
> Reporter: Pan Li
> Assignee: Alex Harui
> Fix For: Apache FlexJS 0.8.0
>
> Attachments: Test1.js, XMLError.png
>
>
> {code}
> <fx:Script>
> <![CDATA[
>
> var foo : XML = new XML();
>
> ]]>
> </fx:Script>
> {code}
> above code result in runtime javascript error
> Uncaught ReferenceError: XML is not defined
> the same code works in swf mode
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)