Flex 2 Chart

Can anybody help me with the method for connecting an external XML in flex

heres my code

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:HTTPService id="srv" url="data.txt"/>
<mx:Model id="results"><gen>{srv.result.data.result}</gen>


<!--<mx:AreaChart id="chart" dataProvider="{results.gen}" showDataTips="true"> -->

<mx:AreaChart id="Areachart" height="100%" width="45%"
             paddingLeft="5" paddingRight="5" 
             showDataTips="true" dataProvider="{results.gen}">
                <mx:CategoryAxis categoryField="Time"/>

                <mx:LineSeries yField="Lane_A" form="curve" displayName="Lane_A"/>
                <mx:LineSeries yField="Lane_B" form="curve" displayName="Lane_B"/>
        <mx:Legend dataProvider="{Areachart}"/>


I can get the data to work internally but not externally

Time: "One", Lane_A: 20, Lane_B: 15
Time: "Two", Lane_A: 10, Lane_B: 20
Time: "Three", Lane_A: 15, Lane_B: 50
Time: "Four", Lane_A: 18, Lane_B: 12
Time: "Five", Lane_A: 9, Lane_B: 10
Time: "Six", Lane_A: 24, Lane_B: 57