[
https://issues.apache.org/jira/browse/FLEX-35203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pan Li updated FLEX-35203:
--------------------------
Description:
{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
was:
{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 awf mode
> 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
> Priority: Blocker
>
> {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)