rendered paste body<mx:Application creationComplete="feedRequest.send()" layout="absolute" width="100%" height="150">
−
<mx:Script>
import mx.controls.DataGrid;
import mx.core.IUIComponent;
function testfunc(evt:ResultEvent)
{
Alert.show(""+evt.result.recentvideos);
}
</mx:Script>
<mx:Style source="main.css"/>
<mx:HTTPService id="feedRequest" url="xml/recentlyviewed.xml" useProxy="false" result="testfunc(event)" showbusycursor="true"/>
−
<mx:HorizontalList width="100%" height="150">
−
<mx:dataProvider>
<mx:Object label="{feedRequest.lastResult.recentvideos.video.title}" icon="{feedRequest.lastResult.recentvideos.video.thumb}"/>
</mx:dataProvider>
</mx:HorizontalList>
</mx:Application>