Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to run Map ServerLayer sample given on arcgis resource center.When I pasted the code in my FlashBuilder 4.6 then it is showing error on this line <esri:ClassBreaksRenderer attribute="POP2000"> .
Error is

Multiple markers at this line:
-Cannot resolve attribute 'attribute' for component type com.esri.ags.renderers.ClassBreaksRenderer.
-1 changed line

It means it is not recognizing the attribute field of esri:ClassBreaksRenderer. I am unable to understand the reason?Any suggestions?

Note: I am using flex4.6.0 and latest version of arcgis API which is agslib-3.3-2013-04-24.swc

share|improve this question
up vote 1 down vote accepted

"The attribute, attribute2, attribute3, and attributeDelimiter properties that were deprecated at 2.5 have been removed at 3.0. Use field, field2, field3, and fieldDelimiter instead."

From the What's New document at

Note that your link goes to the 2.x API documentation. If you are using the 3.x API, you should be looking at the 3.x pages: always points to the latest version.

share|improve this answer
Its very bad that I can't give you up vote :( Anyway Awesome man awesome :) – Despicable Jun 13 '13 at 3:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.