• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flash Builder Burrito not recognizing E4X syntax

New Here ,
Feb 04, 2011 Feb 04, 2011

Copy link to clipboard

Copied

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

Views

531

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 06, 2011 Feb 06, 2011

Copy link to clipboard

Copied

LATEST

Hi,

Are you using Flash Builder Burrito preview release build?

Do you reproduce this consistently?

The same code compiles fine for us.

Can you please attach your eclipse log file?

Thanks,

Balaji

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines