1 Reply Latest reply on Apr 12, 2007 1:00 PM by JoeADSK

    mx:fill and mx:fills not being allowed

    JoeADSK
      I copy and pasted code from the dashboard example and also looked in the book. both examples did not work when I tried to compile the code. Any ideas? The error is "could not resolve <mx:fills> to a component implementation.

      <mx:PieChart x="125" y="90" id="piechart3" dataProvider="{qResult}" height="100%" width="100%" >
      <mx:series>
      <mx:PieSeries displayName="Series 3" showDataEffect="{interpolate}" field="PRICE" labelPosition="callout" />
      <mx:fills>
      <mx:RadialGradient>
      <mx:entries>
      <mx:Array>
      <mx:GradientEntry color="#EF7651" ratio="0"/>
      <mx:GradientEntry color="#994C34" ratio="1"/>
      </mx:Array>
      </mx:entries>
      </mx:RadialGradient>
      <mx:RadialGradient>
      <mx:entries>
      <mx:Array>
      <mx:GradientEntry color="#E9C836" ratio="0"/>
      <mx:GradientEntry color="#AA9127" ratio="1"/>
      </mx:Array>
      </mx:entries>
      </mx:RadialGradient>
      <mx:RadialGradient>
      <mx:entries>
      <mx:Array>
      <mx:GradientEntry color="#6FB35F" ratio="0"/>
      <mx:GradientEntry color="#497B54" ratio="1"/>
      </mx:Array>
      </mx:entries>
      </mx:RadialGradient>
      <mx:RadialGradient>
      <mx:entries>
      <mx:Array>
      <mx:GradientEntry color="#A1AECF" ratio="0"/>
      <mx:GradientEntry color="#47447A" ratio="1"/>
      </mx:Array>
      </mx:entries>
      </mx:RadialGradient>
      <mx:RadialGradient>
      <mx:entries>
      <mx:Array>
      <mx:GradientEntry color="#BA9886" ratio="0"/>
      <mx:GradientEntry color="#AE775B" ratio="1"/>
      </mx:Array>
      </mx:entries>
      </mx:RadialGradient>
      </mx:fills>
      </mx:series>
      </mx:PieChart>