Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35203

XML() class is broken javascript mode in 0.8 dev

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache FlexJS 0.7.0, Apache FlexJS 0.8.0
    • Apache FlexJS 0.8.0
    • FlexJS
    • None

    Description

      	<fx:Script>
      		<![CDATA[
      		
      		var foo : XML = new XML();
      			
      		]]>
      	</fx:Script>
      

      above code result in runtime javascript error
      Uncaught ReferenceError: XML is not defined

      the same code works in swf mode

      Attachments

        1. Test1.js
          9 kB
          Pan Li
        2. XMLError.png
          13 kB
          Devsena

        Activity

          People

            aharui Alex Harui
            panli@prominic.net Pan Li
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: