rendered paste body<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="feedRequest.send()" layout="absolute" width="660" height="500" alpha="1.0" themeColor="#ffffff" cornerRadius="0" backgroundGradientAlphas="[1.0, 1.0]" borderColor="#ffffff" backgroundGradientColors="[#ffffff, #ffffff]">
<mx:Style>
DataGrid {
alternatingItemColors: #E9E9E9, #D0D0D0;
}
</mx:Style>
<mx:states>
<mx:State name="Expanded">
<mx:SetProperty target="{panel1}" name="y"/>
<mx:SetStyle target="{panel1}" name="verticalCenter" value="-17"/>
<mx:SetProperty target="{panel1}" name="x"/>
<mx:SetStyle target="{panel1}" name="horizontalCenter" value="0"/>
<mx:SetProperty target="{panel1}" name="layout" value="absolute"/>
<mx:SetProperty target="{panel1}" name="width" value="628"/>
<mx:SetProperty target="{panel1}" name="height" value="446"/>
<mx:AddChild relativeTo="{panel1}" position="lastChild">
<mx:Label x="10" y="11" text="Full Post" id="label1"/>
</mx:AddChild>
<mx:AddChild relativeTo="{panel1}" position="lastChild">
<mx:Label x="467" y="190" id="titleText" htmlText="{feedRequest.lastResult.rss.title}"/>
</mx:AddChild>
<mx:SetProperty target="{panel1}" name="title" value="Twin Technologies(Full Post)"/>
<mx:RemoveChild target="{dgPosts}"/>
<mx:AddChild relativeTo="{label1}" position="before">
<mx:DataGrid x="425" y="38" height="144" width="173" id="dgPosts2" dataProvider="{feedRequest.lastResult.rss.channel.item}">
<mx:columns>
<mx:DataGridColumn headerText="" dataField="title"/>
</mx:columns>
</mx:DataGrid>
</mx:AddChild>
<mx:AddChild relativeTo="{label1}" position="before">
<mx:Button x="513" y="374" label="Main Menu" id="button1" click="currentState='';"/>
</mx:AddChild>
<mx:RemoveChild target="{textarea1}"/>
<mx:AddChild relativeTo="{panel1}" position="lastChild">
<mx:TextArea x="10" y="37" width="407" height="359" htmlText="{dgPosts.selectedItem.description}" enabled="true" id="textarea2" editable="false" backgroundColor="#ffffff"/>
</mx:AddChild>
<mx:RemoveChild target="{linkbutton1}"/>
<mx:AddChild relativeTo="{panel1}" position="lastChild">
<mx:VRule x="425" y="198" height="198" id="vrule1"/>
</mx:AddChild>
</mx:State>
<mx:State name="Expanded2" basedOn="Expanded">
<mx:SetStyle target="{panel1}" name="horizontalCenter" value="0"/>
<mx:RemoveChild target="{textarea2}"/>
<mx:AddChild relativeTo="{panel1}" position="lastChild">
<mx:TextArea x="10" y="37" width="407" height="359" htmlText="{dgPosts2.selectedItem.description}" enabled="true" editable="false" backgroundColor="#ffffff"/>
</mx:AddChild>
<mx:SetProperty target="{dgPosts2}" name="height" value="144"/>
</mx:State>
</mx:states>
<mx:HTTPService
id="feedRequest"
url="http://atom2rss.semiologic.com/?atom=http%3A%2F%2Fgrahamtt.wordpress.com%2Ffeed%2F"
useProxy="false" />
<mx:Panel x="86" y="56" width="488" height="281" title="Twin Technologies - Community" id="panel1" layout="absolute" resizeEffect="Resize" backgroundColor="#EBEBEB">
<mx:DataGrid id="dgPosts" width="400" dataProvider="{feedRequest.lastResult.rss.channel.item}" x="34" y="10" height="134">
<mx:columns>
<mx:DataGridColumn headerText="Title" dataField="title" width="100"/>
<mx:DataGridColumn headerText="Comment" dataField="description" width="150"/>
</mx:columns>
</mx:DataGrid>
<mx:TextArea width="400" htmlText="{dgPosts.selectedItem.description}" id="textarea1" x="34" y="152" enabled="true" editable="false" backgroundColor="#DADADA"/>
<mx:LinkButton label="Read Full Post" click="currentState='Expanded';" id="linkbutton1" x="184.5" y="204"/>
</mx:Panel>
</mx:Application>