1 Reply Latest reply on Feb 6, 2011 8:42 PM by Balaji Sridhar

    Flash Builder Burrito not recognizing E4X syntax

    Kevin C. Burke

      Hi,

      I have a function in a data proxy that assigns XML from a web API to a value object.

      private function handleDevNewsDataGetComplete(e:Event):void 
              {

                vo.devNewsDataXML = new XML( e.target.data );

                vo.devNewsHeadline = vo.devNewsDataXML..*::Title[0].text();

                vo.devNewsArticle = vo.devNewsDataXML..*::Summary[0].text();

                vo.devNewsSource = vo.devNewsDataXML..*::NewsSource[0].text();

      }

       

      I had no problems with Flash Builder, but since upgrading to Flash Builder Burrito, I have been getting errors (see below). Please help!


      Description    Resource    Path    Location    Type

      Title cannot be resolved to a type    DeveloperDataProxy.as    Flex Problem


      Description    Resource    Path    Location    Type
      The variable Summary is undefined    DeveloperDataProxy.as    Flex Problem


      Description    Resource    Path    Location    Type
      The variable NewsSource is undefined    DeveloperDataProxy.as    Flex Problem