[
https://issues.apache.org/jira/browse/FLEX-35203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15769432#comment-15769432
]
Alex Harui commented on FLEX-35203:
-----------------------------------
What playerglobal.swc version are you using?
> 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.4#6332)