Hi all,
I am new to FLEX
I am using Flex SDK 3.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
<mx:Script>
<![CDATA[

        import mx.charts.*;
        import mx.charts.series.*;
        import mx.charts.effects.*;
]]>
</mx:Script>

    <mx:XML id="salesByEmployee">
        <employees>
            <employee name="Doug"     sales="150000" />
            <employee name="Deepa"     sales="75000"  />
            <employee name="Darron" sales="30000"  />
            <employee name="Ben"     sales="60000"  />
        </employees>
    </mx:XML>

    <mx:PieChart width="300" height="300" >
        <mx:series>
            <mx:PieSeries dataProvider="{salesByEmployee.employee}"
                field="@sales" labelField="@name"
labelPosition="callout" />
        </mx:series>
    </mx:PieChart>

</mx:Application>

 getting error:- Definition mx.charts.effects could not be found.
What is wrong with this code?
What other files need to be imported?

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to